Transpiled version (5046L) is out of date.
static Throwable assertFail(S msg default "", Runnable r) { try { r.run(); } catch e { silentException(e); ret e; } fail("No exception thrown" + (nempty(msg) ? " - " + msg : " by " + r)); }
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, ekrmjmnbrukm, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1005129 |
| Snippet name: | assertFail - assert that a code fragment throws an exception (throwable) |
| Eternal ID of this version: | #1005129/4 |
| Text MD5: | c1eb87c6da143479080c6f8250f61109 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-04-27 14:10:13 |
| Source code size: | 217 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 970 / 1078 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |