assertEquals(59, result.getEndingOffset());
}
public void testWhile() throws Exception
{
String source = "puts i+=1 while i<3";
<BUG>fParseState.setEditState(source, source, 0, 0);
IParseNode result = fParser.parse(fParseState);</BUG>
assertEquals(0, result.getStartingOffset());
assertEquals(20, result.getEndingOffset());
}

assertEquals(59, result.getEndingOffset());
}
public void testWhile() throws Exception
{
String source = "puts i+=1 while i<3";
fParseState.setEditState(source, 0);
IParseNode result = fParser.parse(fParseState);
assertEquals(0, result.getStartingOffset());
assertEquals(20, result.getEndingOffset());
}
