Skip to content

Commit

Permalink
Merge pull request #67 from nowsprinting/fix/screenshot_filename
Browse files Browse the repository at this point in the history
Suppress double quote in screenshot filename
  • Loading branch information
nowsprinting authored Apr 7, 2024
2 parents 3023fa4 + da785f3 commit e668229
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion RuntimeInternals/ScreenshotHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ private static string DefaultFilename(string callerMemberName)
return TestContext.CurrentTestExecutionContext.CurrentTest.Name
.Replace('(', '_')
.Replace(')', '_')
.Replace(',', '-');
.Replace(',', '-')
.Replace("\"", "");
// Note: Same as the file name created under ActualImages of the Graphics Tests Framework package.
#else
return callerMemberName;
Expand Down

0 comments on commit e668229

Please sign in to comment.