Skip to content

Commit

Permalink
keep the code style
Browse files Browse the repository at this point in the history
  • Loading branch information
uiolee committed Apr 11, 2024
1 parent 65b8f54 commit e7a5185
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/encode_url.spec.ts
Expand Up @@ -104,8 +104,6 @@ describe('encodeURL', () => {
});
it('encode pathname', () => {
const content = 'https://fóo.com/páth%20[square]';
const result = encodeURL(content);
console.log(result);
result.should.eql('https://fóo.com/p%C3%A1th%20%5Bsquare%5D');
encodeURL(content).should.eql('https://fóo.com/p%C3%A1th%20%5Bsquare%5D');
});
});

0 comments on commit e7a5185

Please sign in to comment.