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


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

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

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

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

Author comment

Began life as a copy of #1030434

download  show line numbers  debug dex   

Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx

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: 6 / 21
Version history: 2 change(s)
Referenced in: [show references]

Formerly at &