-
Notifications
You must be signed in to change notification settings - Fork 268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove extra space #5238
Remove extra space #5238
Conversation
also fixes normal terminal (with --no-ansi) |
Could you make a test with VSTest as well? |
It does not fix vstest, but I can see the same problem there with nunit. (while of course nunit is fine in mtp) |
Not sure what do you mean? What is the behavior when using VSTest before and after the change. I was expecting VSTest to probably be having the correct spacing already, and gets broken with the change. That's the guess I have. |
vstest output has incorrect spacing before and after the change, both for mstest and nunit. |
Nice. That was unexpected to me 😄 |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/backport to rel/3.8 |
Started backporting to rel/3.8: https://github.com/microsoft/testfx/actions/runs/13894905574 |
@nohwnd backporting to rel/3.8 failed, the patch most likely resulted in conflicts: $ git am --3way --empty=keep --ignore-whitespace --keep-non-patch changes.patch
Applying: Remove extra space
Applying: Remove extra space
Applying: Fix tests
Using index info to reconstruct a base tree...
M test/UnitTests/MSTestAdapter.UnitTests/Execution/TestAssemblyInfoTests.cs
M test/UnitTests/MSTestAdapter.UnitTests/Execution/TestClassInfoTests.cs
M test/UnitTests/MSTestAdapter.UnitTests/Execution/TestMethodInfoTests.cs
M test/UnitTests/MSTestAdapter.UnitTests/Extensions/ExceptionExtensionsTests.cs
Falling back to patching base and 3-way merge...
Auto-merging test/UnitTests/MSTestAdapter.UnitTests/Extensions/ExceptionExtensionsTests.cs
CONFLICT (content): Merge conflict in test/UnitTests/MSTestAdapter.UnitTests/Extensions/ExceptionExtensionsTests.cs
Auto-merging test/UnitTests/MSTestAdapter.UnitTests/Execution/TestMethodInfoTests.cs
CONFLICT (content): Merge conflict in test/UnitTests/MSTestAdapter.UnitTests/Execution/TestMethodInfoTests.cs
Auto-merging test/UnitTests/MSTestAdapter.UnitTests/Execution/TestClassInfoTests.cs
CONFLICT (content): Merge conflict in test/UnitTests/MSTestAdapter.UnitTests/Execution/TestClassInfoTests.cs
Auto-merging test/UnitTests/MSTestAdapter.UnitTests/Execution/TestAssemblyInfoTests.cs
CONFLICT (content): Merge conflict in test/UnitTests/MSTestAdapter.UnitTests/Execution/TestAssemblyInfoTests.cs
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config set advice.mergeConflict false"
Patch failed at 0003 Fix tests
Error: The process '/usr/bin/git' failed with exit code 128 NOTE: A PR will be created, but needs to be revised manually! |
Looks like the code is there since forever, and would always add a single extra space before the first "at".
Fix #5152