Skip to content

Commit 30174ff

Browse files
committed
Confirm correct #/? behavior.
Closes #517
1 parent b9db4b7 commit 30174ff

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/N3Parser-test.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3084,6 +3084,12 @@ describe('Parser', () => {
30843084
});
30853085

30863086
describe('additional cases', () => {
3087+
// base path ending in hash
3088+
itShouldResolve('http://abc/xyz#', '', 'http://abc/xyz');
3089+
3090+
// base path ending in question mark
3091+
itShouldResolve('http://abc/xyz?', '', 'http://abc/xyz?');
3092+
30873093
// relative paths ending with '.'
30883094
itShouldResolve('http://abc/', '.', 'http://abc/');
30893095
itShouldResolve('http://abc/def/ghi', '.', 'http://abc/def/');

0 commit comments

Comments
 (0)