Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpoole committed Sep 1, 2024
1 parent 348a293 commit fddc90e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/test/java/de/blau/android/presets/PresetTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,9 @@ public void matching4() {
PresetItem match = Preset.findBestMatch(presets, tags, null, null);
assertNotNull(match);
assertTrue(match.hasKeyValue(Tags.KEY_INDOOR, Tags.VALUE_ROOM));
match = Preset.findBestMatch(presets, tags, null, Tags.IGNORE_FOR_MAP_ICONS);
Map<String, String> ignore = new HashMap<>();
ignore.put(Tags.KEY_INDOOR, Tags.VALUE_ROOM);
match = Preset.findBestMatch(presets, tags, null, ignore);
assertNotNull(match);
assertTrue(match.hasKeyValue(Tags.KEY_SHOP, "supermarket"));
}
Expand Down

0 comments on commit fddc90e

Please sign in to comment.