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

4
LINES

< > BotCompany Repo | #1030918 // test_addParamsToURL

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

Libraryless. Click here for Pure Java version (2797L/17K).

svoid test_addParamsToURL() {
  assertEqualsVerbose("https://bla/?a=b", addParamsToURL("https://bla/", a := "b"));
  assertEqualsVerbose("https://bla/?a=b#anchor", addParamsToURL("https://bla/#anchor", a := "b"));
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1030918
Snippet name: test_addParamsToURL
Eternal ID of this version: #1030918/1
Text MD5: a047e9f6d28851c453b3744ca088d070
Transpilation MD5: de7585610cc08a13b07838c868ba3c96
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-04-10 18:18:08
Source code size: 218 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 141 / 210
Referenced in: [show references]