We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 242e082 commit f6a35c5Copy full SHA for f6a35c5
1 file changed
TestStack.FluentMVCTesting.Tests/Internal/ExpressionInspectorTests.cs
@@ -25,5 +25,14 @@ public void Correctly_parse_equality_comparison_with_int_operands()
25
var actual = sut.Inspect(func);
26
Assert.AreEqual("number => number == 5", actual);
27
}
28
+
29
+ [Test]
30
+ public void Correctly_parse_inequality_comparison_with_int_operands()
31
+ {
32
+ Expression<Func<int, bool>> func = number => number != 5;
33
+ ExpressionInspector sut = new ExpressionInspector();
34
+ var actual = sut.Inspect(func);
35
+ Assert.AreEqual("number => number != 5", actual);
36
+ }
37
38
0 commit comments