Skip to content

Commit 8ec661d

Browse files
committed
C#: Fixup test
1 parent 8469c65 commit 8ec661d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

csharp/ql/test/library-tests/generics/Generics.expected

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ test14
3131
test15
3232
| generics.cs:7:23:7:40 | GenericDelegate<String> |
3333
test16
34+
| generics.cs:135:11:135:16 | Subtle | generics.cs:135:11:135:16 | <object initializer> |
3435
| generics.cs:135:11:135:16 | Subtle | generics.cs:138:21:138:25 | fs`1 |
3536
| generics.cs:135:11:135:16 | Subtle | generics.cs:140:21:140:25 | fs`1 |
3637
| generics.cs:135:11:135:16 | Subtle | generics.cs:142:21:142:22 | fs |

csharp/ql/test/library-tests/generics/Generics.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ query predicate test15(ConstructedDelegateType d) {
118118

119119
query predicate test16(Class c, Method m) {
120120
c.hasName("Subtle") and
121-
count(c.getAMethod()) = 3 and
121+
count(c.getAMethod()) = 4 and
122122
m = c.getAMethod()
123123
}
124124

0 commit comments

Comments
 (0)