Skip to content

Commit 89d36d2

Browse files
committed
fixing assert
1 parent e9e9410 commit 89d36d2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/FastExpressionCompiler.IssueTests/Issue274_Failing_Expressions_in_Linq2DB.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ public void The_expression_with_anonymous_class_should_output_without_special_sy
5858

5959
var de = f.Target as IDelegateDebugInfo;
6060
Asserts.IsNotNull(de.Expression);
61+
#if NET8_0_OR_GREATER
6162
Asserts.IsTrue(de.ILInstructions.Length > 0);
63+
#endif
6264
}
6365

6466
public void Test_case_1_Minimal_compare_nullable_with_null_conditional()

0 commit comments

Comments
 (0)