Skip to content

Commit

Permalink
BasicURLNormalizerTest.java: fix code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mstrewe authored Jan 27, 2025
1 parent e36a038 commit 00c854b
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -304,12 +304,9 @@ void testNonStandardPercentEncoding() throws MalformedURLException {
@Test
void testProperURLEncodingWithLowerCase() throws MalformedURLException {
URLFilter urlFilter = createFilter(queryParamsToFilter);
String urlWithEscapedCharacters =
"http://www.example.com/Exhibitions/Detail/NjAxOA%3d%3d";
String expectedResult =
"http://www.example.com/Exhibitions/Detail/NjAxOA%3d%3d";
// normalization should not change this url.

String urlWithEscapedCharacters = "http://www.example.com/Exhibitions/Detail/NjAxOA%3d%3d";
String expectedResult = "http://www.example.com/Exhibitions/Detail/NjAxOA%3d%3d";
// normalization should not change this url.
URL testSourceUrl = new URL(urlWithEscapedCharacters);
String testUrl = urlWithEscapedCharacters;
String normalizedUrl = urlFilter.filter(testSourceUrl, new Metadata(), testUrl);
Expand Down

0 comments on commit 00c854b

Please sign in to comment.