Skip to content

Test code never executes - ill defined loop #175

@ariccio

Description

@ariccio

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:
enum_add
enum_none

Steps To Reproduce

I just enabled code analysis. C'mon, Microsoft, it's your own tool!

Metadata

Metadata

Assignees

Labels

Pri: 3fixedhelp wantedIssues identified as good community contribution opportunities

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions