Skip to content

Commit 6a54a6d

Browse files
committed
C#: Fix changed unit tests.
1 parent 93ce34a commit 6a54a6d

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

csharp/ql/test/library-tests/standalone/errorrecovery/ErrorTypes.expected

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
| errors.cs:37:21:37:21 | p | Int32 |
12
| errors.cs:43:16:43:17 | c1 | C1 |
23
| errors.cs:52:12:52:13 | c1 | C1 |
34
| errors.cs:53:12:53:13 | c2 | C2 |
@@ -9,6 +10,10 @@
910
| errors.cs:76:17:76:17 | x | Int32 |
1011
| errors.cs:77:17:77:17 | x | Int32 |
1112
| errors.cs:84:13:84:13 | F | Int32 |
13+
| errors.cs:91:13:91:13 | F | Int32 |
1214
| errors.cs:93:29:93:29 | a | Func<Int32,Int32,Int32> |
1315
| errors.cs:93:34:93:35 | x1 | Int32 |
1416
| errors.cs:93:38:93:39 | x2 | Int32 |
17+
| errors.cs:94:29:94:29 | a | Func<Int32,Int32,Int32> |
18+
| errors.cs:94:34:94:35 | y1 | Int32 |
19+
| errors.cs:94:38:94:39 | y2 | Int32 |
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
| errors.cs:20:21:20:22 | m1 | 1 |
2+
| errors.cs:37:14:37:15 | m1 | 0 |
23
| errors.cs:41:14:41:15 | m2 | 1 |
34
| errors.cs:55:19:55:19 | f | 0 |
45
| errors.cs:61:13:61:14 | f2 | 0 |
56
| errors.cs:69:22:69:22 | M | 0 |
67
| errors.cs:74:22:74:22 | M | 0 |
78
| errors.cs:83:18:83:22 | get_P | 0 |
9+
| errors.cs:90:18:90:22 | get_P | 0 |
810
| errors.cs:93:33:93:45 | (...) => ... | 0 |
11+
| errors.cs:94:33:94:45 | (...) => ... | 0 |

csharp/ql/test/library-tests/standalone/errorrecovery/errors.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public void m1()
3434
// Error: Duplicate class
3535
class C1
3636
{
37-
void m1()
37+
void m1(int p)
3838
{
3939
}
4040

0 commit comments

Comments
 (0)