Skip to content

Commit

Permalink
code refine.
Browse files Browse the repository at this point in the history
  • Loading branch information
Koooooo-7 committed Feb 18, 2021
1 parent 702beb9 commit eaf3fbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/core-util.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe('core/util', () => {
});

test('non external local url with three ///', () => {
const result = isExternal(`//${location.host}/docsify/demo.md`);
const result = isExternal(`///${location.host}/docsify/demo.md`);

expect(result).toBeFalsy();
});
Expand Down

0 comments on commit eaf3fbc

Please sign in to comment.