private RaiseWhenTwoManyWordsInCondition ( ) : void | ||
return | void |
public void RaiseWhenTwoManyWordsInCondition()
{
Parser parser = new Parser("rule\r\nwhen\r\na is 48 c");
MyAssert.Throws<LexerException>(() => parser.ParseRule(), "Expected End of Line/Input");
}