Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

13
LINES

< > BotCompany Repo | #1013008 // Test noUnixTricks (OK)

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (945L/7K).

!7

p {
  for (S s : ll("abc", "", "-9"))
    ok(s);
  for (fS s : ll("|bla", ">dev", "<dev", "&", "`"))
    assertFail(r { noUnixTricks(s) });
  print("OK");
}

svoid ok(S s) {
  assertEquals(s, noUnixTricks(s));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ilscnaqoeozw, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

-
Snippet ID: #1013008
Snippet name: Test noUnixTricks (OK)
Eternal ID of this version: #1013008/6
Text MD5: 6fc1975a182c08b75018ffb5f7c9305a
Transpilation MD5: 416b600b01fb077da0593ba8704a8972
Author: stefan
Category: javax / tests
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-20 23:39:46
Source code size: 227 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 573 / 1103
Version history: 5 change(s)
Referenced in: