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

5
LINES

< > BotCompany Repo | #1030855 // test_replaceAngleBracketVars (OK)

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

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

svoid test_replaceAngleBracketVars() {
  assertEqualsVerbose("test bla blubb <x>",
    replaceAngleBracketVars("<thing> bla <thing2> <x>",
      litmap("<thing>" := "test", "thing2" := "blubb")));
}

Author comment

Began life as a copy of #1028670

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1030855
Snippet name: test_replaceAngleBracketVars (OK)
Eternal ID of this version: #1030855/2
Text MD5: 211164800670ecff7a36a7387f274846
Transpilation MD5: ca4c3f912ac24175d42840e134446f78
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-04-03 16:57:25
Source code size: 202 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 157 / 228
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)