A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/cnescatlab/i-CodeCNES/issues/147 below:

Test files may have a "contains" instead of an "equals" to check the location value · Issue #147 · cnescatlab/i-CodeCNES · GitHub

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4