Transpiled version (37277L) is out of date.
!include once #1034831 // Gazelle 22 Function Include for Testing svoid test_leftArrowScript_scriptError() { // Assert that an exception thrown inside LAScript contains a ScriptError instance Throwable error = cast leftArrow("getException < Runnable fail"); var scriptError = innerExceptionOfType(GazelleV_LeftArrowScript.ScriptError.class, error); assertNotNullVerbose(scriptError); // Assert we can quickFail and it's NOT going to be wrapped in anything var e = getException(r { leftArrow("quickFail") }); printStackTrace(e); assertInstanceOfVerbose(e, QuickException); }
Began life as a copy of #1035656
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): elmgxqgtpvxh, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1036422 |
| Snippet name: | test_leftArrowScript_scriptError |
| Eternal ID of this version: | #1036422/7 |
| Text MD5: | 1816645826b60db88450baf20d185a7a |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2024-10-04 23:28:00 |
| Source code size: | 605 bytes / 13 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 1052 / 1242 |
| Version history: | 6 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |