Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3f2d81 commit cb6e153Copy full SHA for cb6e153
1 file changed
csharp/extractor/Semmle.Extraction.Tests/Options.cs
@@ -3,6 +3,7 @@
3
using System;
4
using System.IO;
5
using Semmle.Util;
6
+using System.Text.RegularExpressions;
7
8
namespace Semmle.Extraction.Tests
9
{
@@ -197,7 +198,7 @@ public void ArchiveArguments()
197
198
199
File.AppendAllText(file, "Test");
200
new string[] { "/noconfig", "@" + file }.WriteCommandLine(sw);
- Assert.Equal("Test\n", sw.ToString());
201
+ Assert.Equal("Test", Regex.Replace(sw.ToString(), @"\t|\n|\r", ""));
202
}
203
finally
204
0 commit comments