Uses 679K of libraries. Click here for Pure Java version (35532L/178K).
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("}"); }
download show line numbers debug dex old transpilations
Travelled to 5 computer(s): bhatertpkbcr, ekrmjmnbrukm, gjtlkbvenryc, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034738 |
Snippet name: | test_leftArrowScriptParseErrors |
Eternal ID of this version: | #1034738/3 |
Text MD5: | 1bd83e7bb19a69db93856f88bd30480e |
Transpilation MD5: | 41e62ba5e7d7c77eb91f361438cd02aa |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2024-07-07 06:09:59 |
Source code size: | 448 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 184 / 285 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1035011 - test_leftArrowScriptCompileErrors |