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

4
LINES

< > BotCompany Repo | #1030663 // test_replaceDollarVars2 (OK)

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

Libraryless. Click here for Pure Java version (3068L/18K).

1  
svoid test_replaceDollarVars2() {
2  
  assertEqualsVerbose("Hello thisthis ${else} $else you you",
3  
    replaceDollarVars2("Hello ${what}$what ${else} $else $that ${that}", what := "this", $that := "you"));
4  
}

Author comment

Began life as a copy of #1030434

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030663
Snippet name: test_replaceDollarVars2 (OK)
Eternal ID of this version: #1030663/3
Text MD5: 408284905536e2e241918bb903dabf0d
Transpilation MD5: c3c0acbdbb2fc1fe06d51e4f0ad903c1
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-02-22 13:10:06
Source code size: 207 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 153 / 197
Version history: 2 change(s)
Referenced in: [show references]