Skip to content

Commit

Permalink
Fix test (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
silverwind authored Sep 28, 2020
1 parent 18effbe commit 02bf93e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,9 @@ test('removeSingleSlash option', t => {
});

test('removeSingleSlash option combined with removeTrailingSlash option', t => {
const options = {removeTrailingSlash: true, removeSingleSlash: false};
const options = {removeTrailingSlash: false, removeSingleSlash: false};
t.is(normalizeUrl('https://sindresorhus.com/', options), 'https://sindresorhus.com/');
t.is(normalizeUrl('https://sindresorhus.com/redirect/', options), 'https://sindresorhus.com/redirect');
t.is(normalizeUrl('https://sindresorhus.com/redirect/', options), 'https://sindresorhus.com/redirect/');
t.is(normalizeUrl('https://sindresorhus.com/#/', options), 'https://sindresorhus.com/#/');
t.is(normalizeUrl('https://sindresorhus.com/?unicorns=true', options), 'https://sindresorhus.com/?unicorns=true');
});
Expand Down

0 comments on commit 02bf93e

Please sign in to comment.