Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1a99f4f

Browse files
committed
C#: Fix unit tests due to qltest mangling output.
1 parent 2a484dc commit 1a99f4f

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

csharp/ql/test/library-tests/compilations/Compilations.expected

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ diagnostics
55
| Program.cs:9:13:9:13 | CS0219: The variable 'y' is assigned but its value is never used | CS0219 | 2 | Variable is assigned but its value is never used | The variable 'y' is assigned but its value is never used |
66
compilationErrors
77
metricIsZero
8-
compilation
9-
| compilation | compilations |
108
compilationArguments
119
| compilation | 0 | -unsafe |
1210
| compilation | 1 | -target:library |

csharp/ql/test/library-tests/compilations/Compilations.ql

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ query predicate metricIsZero(Compilation compilation, int metric) {
1717
metric != 6 // Peak working set not implemented on Linux
1818
}
1919

20-
query predicate compilation(Compilation c, string f) { f = c.getDirectoryString() }
21-
2220
query predicate compilationArguments(Compilation compilation, int i, string arg) {
2321
arg = compilation.getArgument(i)
2422
}

0 commit comments

Comments
 (0)