-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Test code never executes - ill defined loop #175
Copy link
Copy link
Closed
Labels
Pri: 3fixedhelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunities
Description
NumbersAndOperatorsEnum::Add is never <= NumbersAndOperatorsEnum::None, so the test never executes.
Describe the bug
Someone wanted to write some unit tests, and idk, maybe they thought that CM::Command::CommandNULL was >=NumbersAndOperatorsEnum::Add because it was lower on the screen... but, alas, it's not:
Steps To Reproduce
I just enabled code analysis. C'mon, Microsoft, it's your own tool!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Pri: 3fixedhelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunities