Skip to content

Commit

Permalink
Update UtilsTests.java
Browse files Browse the repository at this point in the history
  • Loading branch information
arifBurakDemiray authored Feb 22, 2024
1 parent 12a0949 commit 9e3d911
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,9 @@ public void urlencode_empty() {
*/
@Test
public void urlencode_symbols() {
final String givenString = "~!@ #$%^&()_+{ }:\"|[]\\|,./<>?❤️";
final String givenString = "~!@ #$%^&()_+{ }:\"|[]\\|,./<>?";
final String res = Utils.urlencode(givenString, null);
Assert.assertEquals("%7E%21%40+%23%24%25%5E%26%28%29_%2B%7B+%7D%3A%22%7C%5B%5D%5C%7C%2C.%2F%3C%3E%3F%E2%9D%A4%EF%B8%8F", res);
Assert.assertEquals("%7E%21%40+%23%24%25%5E%26%28%29_%2B%7B+%7D%3A%22%7C%5B%5D%5C%7C%2C.%2F%3C%3E%3F", res);
}

/**
Expand Down

0 comments on commit 9e3d911

Please sign in to comment.