svoid test_leftArrowScriptParseErrors() { new GazelleV_LeftArrowScriptParser parser; var e = assertFail(-> parser.parse("unknownIdentifier")); var inner = innerExceptionOfType(GazelleV_LeftArrowScriptParser.UnknownObject.class, e); assertEqualsVerbose("unknownIdentifier", inner.name); // missing expression after assignment assertFail(-> parser.parse("a <-")); // superfluous "}" assertFail(-> parser.parse("}"); }