-
Notifications
You must be signed in to change notification settings - Fork 325
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
Make --verbosity case insensitive #2300
Make --verbosity case insensitive #2300
Conversation
This #2179 (comment) surprises me |
@@ -247,11 +247,11 @@ private List<string> AddArgs() | |||
var quietTestLogging = new List<string>() {"q", "quiet"}; | |||
|
|||
string vsTestVerbosity = "minimal"; | |||
if (normalTestLogging.Contains(this.VSTestVerbosity)) | |||
if (normalTestLogging.Contains(this.VSTestVerbosity.ToLowerInvariant())) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Were only these 2 affected ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, that were the only two case sensitive checks I could find in that file and falsify with tests. There is also
if (!string.IsNullOrEmpty(this.VSTestPlatform) && !this.VSTestPlatform.Contains("AnyCPU")) |
Same here, it did not work for me, and the tests show that it does not work even on windows. I could see that passing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AbhitejJohn Should approve too.
Description
Makes
--verbosity
case insensitive.Related issue
Fixes #2179