1 | sS assertNoLineBreaks(S s) {
|
2 | if (containsNewLine(s)) |
3 | fail(shorten(quote(s), 80)); |
4 | ret s; |
5 | } |
Began life as a copy of #1016714
download show line numbers debug dex old transpilations
Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1019238 |
| Snippet name: | assertNoLineBreaks |
| Eternal ID of this version: | #1019238/2 |
| Text MD5: | 8a81509018a2c7f97539881acd830a8b |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-10-28 14:25:00 |
| Source code size: | 102 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 577 / 617 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |