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

4
LINES

< > BotCompany Repo | #1022520 // test_replaceLine_keepingPadding

JavaX fragment (include)

svoid test_replaceLine_keepingPadding() {
  assertEqualsVerbose_struct("a\n  de  \nd",
    replaceLine_keepingPadding("a\n  abc  \nd", "abc", "de"));
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1022520
Snippet name: test_replaceLine_keepingPadding
Eternal ID of this version: #1022520/2
Text MD5: f64f8b66081395db4c57bcc424f653d1
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-20 00:02:19
Source code size: 154 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 256 / 297
Version history: 1 change(s)
Referenced in: [show references]