Skip to content

Commit eaf3fbc

Browse files
committed
code refine.
1 parent 702beb9 commit eaf3fbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/core-util.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ describe('core/util', () => {
2020
});
2121

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

2525
expect(result).toBeFalsy();
2626
});

0 commit comments

Comments
 (0)