assertEquals(58, result.getEndingOffset());
}
public void testCase() throws Exception
{
String source = "case i\nwhen1, 2..5\n\tputs \"1..5\"\nwhen 6..10\n\tputs \"6..10\"\nend";
<BUG>fParseState.setEditState(source, source, 0, 0);
IParseNode result = fParser.parse(fParseState);</BUG>
assertEquals(0, result.getStartingOffset());
assertEquals(59, result.getEndingOffset());
}

assertEquals(58, result.getEndingOffset());
}
public void testCase() throws Exception
{
String source = "case i\nwhen1, 2..5\n\tputs \"1..5\"\nwhen 6..10\n\tputs \"6..10\"\nend";
fParseState.setEditState(source, 0);
IParseNode result = fParser.parse(fParseState);
assertEquals(0, result.getStartingOffset());
assertEquals(59, result.getEndingOffset());
}
