Download Jar. Libraryless. Click here for Pure Java version (2154L/14K).
1 | !7 |
2 | |
3 | p {
|
4 | for (S s : ll("#", "a&b", "\"", "\\", "a b", "aa\nbb", "\r", "\t"))
|
5 | assertTrue(containsUnsafePlatformCmdLineChar(printStruct(s))); |
6 | for (S s : ll("bla", ""))
|
7 | assertFalse(containsUnsafePlatformCmdLineChar(printStruct(s))); |
8 | print("OK");
|
9 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1016318 |
| Snippet name: | Test containsUnsafePlatformCmdLineChar (OK) |
| Eternal ID of this version: | #1016318/7 |
| Text MD5: | 343471d6bb9ae69bd09f81dbcd8d8bd1 |
| Transpilation MD5: | 3066a4bc08e9da45bae36fe97f0828f6 |
| Author: | stefan |
| Category: | javax / os |
| Type: | JavaX source code (desktop) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-06-14 12:17:29 |
| Source code size: | 265 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 670 / 1635 |
| Version history: | 6 change(s) |
| Referenced in: | [show references] |