Skip to content

Commit b8f603b

Browse files
authored
chore(tests): make N3Util type predicate tests use correct functions
1 parent 5a58e93 commit b8f603b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/N3Util-test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ describe('Util', () => {
119119
});
120120

121121
it('does not match a blank node', () => {
122-
expect(Util.isNamedNode(blankNode('x'))).toBe(false);
122+
expect(Util.isVariable(blankNode('x'))).toBe(false);
123123
});
124124

125125
it('does not match null', () => {
@@ -145,11 +145,11 @@ describe('Util', () => {
145145
});
146146

147147
it('does not match null', () => {
148-
expect(Util.isVariable(null)).toBe(false);
148+
expect(Util.isDefaultGraph(null)).toBe(false);
149149
});
150150

151151
it('does not match undefined', () => {
152-
expect(Util.isVariable(undefined)).toBe(false);
152+
expect(Util.isDefaultGraph(undefined)).toBe(false);
153153
});
154154
});
155155

0 commit comments

Comments
 (0)