Skip to content

Commit 7b76e71

Browse files
authored
Merge pull request #8725 from markcowl/fix-test-format
Fix issue with formatting strings with braces [#8455]
2 parents 3e71f6a + 362845a commit 7b76e71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/ScenarioTest.ResourceManager/XunitTracingInterceptor.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ public XunitTracingInterceptor(ITestOutputHelper output)
3737

3838
public List<string> traceOutputArray = new List<string>();
3939

40-
private void Write(string message, params object[] arguments)
40+
private void Write(string message)
4141
{
4242
try
4343
{
44-
traceOutputArray.Add(string.Format(message, arguments));
44+
traceOutputArray.Add(message);
4545
}
4646
catch { }
4747
}

0 commit comments

Comments
 (0)