From 89751faad2cc7c19b5a111e512772b608968dc1f Mon Sep 17 00:00:00 2001 From: Bauke Date: Tue, 18 Oct 2022 22:24:59 +0200 Subject: [PATCH] Update matching test for www. removal. --- tests/redirect.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/redirect.test.ts b/tests/redirect.test.ts index 4867b3e..d2edb9d 100644 --- a/tests/redirect.test.ts +++ b/tests/redirect.test.ts @@ -78,7 +78,7 @@ test('Redirect.isMatch', (t) => { const hostnameRedirect = new HostnameRedirect(hostnameParameters); const hostnameSamples: UrlSamples = [ ['https://example.com', true], - ['https://www.example.com', false], + ['https://www.example.com', true], ['https://example.org', false], ];