You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Test files should check that the location found equals the expected location
Actual behavior
In the Shell COM.PRES.Indent rule the test checked if one of the locations contained the other, resulting in a false positive (ma_fonction_affine included in ma_fonction_affine2)
The test has been corrected in the COM.PRES.Indent rule but the tests of the other rules need checking.
Steps to reproduce behavior
In test files, the testRunWithError method needs location.contains(LOCATIONS[index]) changed to location.equals(LOCATIONS[index]) in the value verification part
Detection version
3.1.0-dev
The text was updated successfully, but these errors were encountered:
brigittehuynh
changed the title
Test files may have a contain insteaf of an equal for the location value
Test files may have a "contains" instead of an "equals" to check the location value
Aug 20, 2018
Expected behavior
Test files should check that the location found equals the expected location
Actual behavior
In the Shell COM.PRES.Indent rule the test checked if one of the locations contained the other, resulting in a false positive (ma_fonction_affine included in ma_fonction_affine2)
The test has been corrected in the COM.PRES.Indent rule but the tests of the other rules need checking.
Steps to reproduce behavior
In test files, the testRunWithError method needs location.contains(LOCATIONS[index]) changed to location.equals(LOCATIONS[index]) in the value verification part
Detection version
3.1.0-dev
The text was updated successfully, but these errors were encountered: