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

10
LINES

< > BotCompany Repo | #1012992 // Test unquote_accurate (OK)

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

Download Jar. Transpiled version (945L) is out of date.

!7

p {
  S bad = [["a" or "b"]];
  assertEquals(bad, unquote_accurate(bad));
  assertEquals("a", unquote_accurate([["a"]]));
  assertEquals("a", unquote_accurate("[[a]]"));
  assertEquals("b", unquote_accurate("[=[b]=]"));
  print("OK");
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1012992
Snippet name: Test unquote_accurate (OK)
Eternal ID of this version: #1012992/2
Text MD5: 820aa5d7360fbffa6821b583dfbd72e3
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-19 17:28:22
Source code size: 249 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 515 / 1094
Version history: 1 change(s)
Referenced in: [show references]