Skip to content

Commit

Permalink
fixed test (null is not interpreted as true anymore)
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkoseifert committed Mar 30, 2013
1 parent 69a148b commit fae5a44
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -58,7 +58,7 @@ public void testDisableLocationMapOption() {

resource.unload();
resource.load(Collections.singletonMap(
ICsOptions.DISABLE_LOCATION_MAP, null));
ICsOptions.DISABLE_LOCATION_MAP, true));
cs = getConcreteSyntax(resource);
l = resource.getLocationMap().getLine(cs.getRules().get(0));
//location map disabled -> no location information available
Expand All @@ -67,7 +67,7 @@ public void testDisableLocationMapOption() {
resource.unload();
resource.load(null);
resource.load(Collections.singletonMap(
ICsOptions.DISABLE_LOCATION_MAP, null)); //no effect since already loaded
ICsOptions.DISABLE_LOCATION_MAP, true)); //no effect since already loaded
cs = getConcreteSyntax(resource);
l = resource.getLocationMap().getLine(cs.getRules().get(0));
//location map enabled -> location information available
Expand Down

0 comments on commit fae5a44

Please sign in to comment.