mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
C#: Fix unit tests due to qltest mangling output.
This commit is contained in:
@@ -5,8 +5,6 @@ diagnostics
|
||||
| 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 |
|
||||
compilationErrors
|
||||
metricIsZero
|
||||
compilation
|
||||
| compilation | compilations |
|
||||
compilationArguments
|
||||
| compilation | 0 | -unsafe |
|
||||
| compilation | 1 | -target:library |
|
||||
|
||||
@@ -17,8 +17,6 @@ query predicate metricIsZero(Compilation compilation, int metric) {
|
||||
metric != 6 // Peak working set not implemented on Linux
|
||||
}
|
||||
|
||||
query predicate compilation(Compilation c, string f) { f = c.getDirectoryString() }
|
||||
|
||||
query predicate compilationArguments(Compilation compilation, int i, string arg) {
|
||||
arg = compilation.getArgument(i)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user