Skip to content

Commit

Permalink
Update unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorHarbo committed Jul 25, 2023
1 parent 6f6979c commit 0be41d4
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import java.util.regex.Matcher;
import java.util.regex.Pattern;

import dk.kb.netarchivesuite.solrwayback.normalise.Normalisation;
import org.junit.Test;

import java.util.Arrays;
Expand Down Expand Up @@ -96,8 +97,8 @@ public void testIsUrlWithDomain() {
public void testLenientURLQueryNoArgs() {
assertEquals("url:\"http://example.com/\"^200 OR url_norm:\"http://example.com/\"^100",
UrlUtils.lenientURLQuery("http://example.com/"));
assertEquals("url:\"https://www.EXAMPLE.com/\"^200 OR url_norm:\"http://example.com/\"^100",
UrlUtils.lenientURLQuery("https://www.EXAMPLE.com/"));
assertEquals("url:\"https://EXAMPLE.com/\"^200 OR url_norm:\"http://example.com/\"^100",
UrlUtils.lenientURLQuery("https://EXAMPLE.com/"));
}

@Test
Expand Down

0 comments on commit 0be41d4

Please sign in to comment.