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

6
LINES

< > BotCompany Repo | #1016254 // Test fixNewLines (OK)

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

Download Jar. Libraryless. Click here for Pure Java version (4276L/31K).

!7

p {
  for (S s : ll(null, "", "\r", "\n", "\r\n", "abc", "a\rb", "a\r", "a\r\r\nb", "a\r\rb", "a\n", "\n\r\n", "a\n\nbla", "a\r\nb\r\n"))
    assertEqualsVerbose(fixNewLines(s), fixNewLines_old(s));
}

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: #1016254
Snippet name: Test fixNewLines (OK)
Eternal ID of this version: #1016254/3
Text MD5: a9b8dc25816c8ea89f0d72daebd93c0c
Transpilation MD5: 1079c64588d280af31da833882b307e7
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-12 15:02:58
Source code size: 209 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 353 / 929
Version history: 2 change(s)
Referenced in: [show references]