Libraryless. Click here for Pure Java version (2797L/17K).
1 | svoid test_addParamsToURL() {
|
2 | assertEqualsVerbose("https://bla/?a=b", addParamsToURL("https://bla/", a := "b"));
|
3 | assertEqualsVerbose("https://bla/?a=b#anchor", addParamsToURL("https://bla/#anchor", a := "b"));
|
4 | } |
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: | 349 / 452 |
| Referenced in: | [show references] |