C#: Extract expanded compiler arguments

This commit is contained in:
Tamas Vajk
2024-01-30 15:37:10 +01:00
parent 41cca4711b
commit fddbb1a722
13 changed files with 299 additions and 9 deletions

View File

@@ -210,7 +210,7 @@ namespace Semmle.Extraction.Tests
try
{
File.AppendAllText(file, "Test");
new string[] { "/noconfig", "@" + file }.WriteCommandLine(sw);
sw.WriteContentFromArgumentFile(new string[] { "/noconfig", "@" + file });
Assert.Equal("Test", Regex.Replace(sw.ToString(), @"\t|\n|\r", ""));
}
finally