We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15fe195 commit 07703d1Copy full SHA for 07703d1
test.js
@@ -2,12 +2,12 @@ const assert = require('assert');
2
3
//Test the non-rdflib functionality
4
const ns = require('./index.js')();
5
-assert.equal(ns.schema('Recipe'), 'http:/schema.org/Recipe');
+assert.equal(ns.schema('Recipe'), 'http://schema.org/Recipe');
6
7
8
//Test the rdflib functionality
9
const rdflib = {
10
namedNode: val => 'RDF::'+val
11
};
12
const rdfns = require('./index.js')(rdflib);
13
-assert.equal(rdfns.schema('Recipe'), 'RDF::http:/schema.org/Recipe');
+assert.equal(rdfns.schema('Recipe'), 'RDF::http://schema.org/Recipe');
0 commit comments