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

6
LINES

< > BotCompany Repo | #1027950 // test_tok_combineSpacelessSlashCombos (OK)

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2698L/17K).

svoid test_tok_combineSpacelessSlashCombos() {
  assertEqualsVerbose(ll("", "a/b", ""), tok_combineSpacelessSlashCombos(javaTok("a/b")));
  assertEqualsVerbose(ll("", "a", "", "/", ""), tok_combineSpacelessSlashCombos(javaTok("a/")));
  assertEqualsVerbose(ll("", "a", " ", "/", " ", "b", ""), tok_combineSpacelessSlashCombos(javaTok("a / b")));
  assertEqualsVerbose(ll("", "Ein/eine", " ", "<", ""), tok_combineSpacelessSlashCombos(javaTok("Ein/eine <")));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1027950
Snippet name: test_tok_combineSpacelessSlashCombos (OK)
Eternal ID of this version: #1027950/4
Text MD5: 957b61715ae1dc664a5f0a2b45ce5f22
Transpilation MD5: ba670d64819608afa4f7fdf48db93d70
Author: stefan
Category: javax / parsing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-04-20 13:31:24
Source code size: 465 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 203 / 290
Version history: 3 change(s)
Referenced in: [show references]