Skip to content

Commit 21d5290

Browse files
committed
Skip tests related to v1.1 changes.
1 parent 847dfe8 commit 21d5290

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

js/jsonld.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8111,13 +8111,15 @@ jsonld.url.parse = function(str, parser) {
81118111
while(i--) {
81128112
parsed[o.keys[i]] = (m[i] === undefined) ? null : m[i];
81138113
}
8114+
81148115
// remove default ports in found in URLs
81158116
if((parsed.scheme === 'https' && parsed.port === '443') ||
81168117
(parsed.scheme === 'http' && parsed.port === '80')) {
81178118
parsed.href = parsed.href.replace(':' + parsed.port, '');
81188119
parsed.authority = parsed.authority.replace(':' + parsed.port, '');
81198120
parsed.port = null;
81208121
}
8122+
81218123
parsed.normalizedPath = _removeDotSegments(parsed.path, !!parsed.authority);
81228124
return parsed;
81238125
};

tests/test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ var ROOT_MANIFEST_DIR = resolvePath(
9696
var TEST_TYPES = {
9797
'jld:CompactTest': {
9898
skip: {
99+
regex: [/#tp005/, /#tp006/, /#t0073/],
99100
processingMode: ['json-ld-1.1']
100101
},
101102
fn: 'compact',
@@ -108,6 +109,7 @@ var TEST_TYPES = {
108109
},
109110
'jld:ExpandTest': {
110111
skip: {
112+
regex: [/^#tp002/, /^#tp003/],
111113
processingMode: ['json-ld-1.1']
112114
},
113115
fn: 'expand',

0 commit comments

Comments
 (0)