Skip to content

Commit b8b52d9

Browse files
committed
Bumped N3 to v0.1.9 and restored all tests that used Turtle shortcuts.
1 parent 5cfdd7b commit b8b52d9

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"chai": "~1.8.0"
3333
},
3434
"dependencies": {
35-
"n3": "~0.1.8",
35+
"n3": "~0.1.9",
3636
"readable-stream": ">= 1.0.2 < 2.0.0",
3737
"concat-stream": "~1.0.0"
3838
}

test/getStream_spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ describe("n3.getStream", function() {
3333
});
3434
});
3535

36-
it.skip("should convert two triples into N3, reusing the subject", function(done) {
36+
it("should convert two triples into N3, reusing the subject", function(done) {
3737
db.put([{
3838
subject: "http://example.org/cartoons#Tom"
3939
, predicate: "http://www.w3.org/1999/02/22-rdf-syntax-ns#type"
@@ -49,7 +49,7 @@ describe("n3.getStream", function() {
4949

5050
stream.pipe(concat(function(triples) {
5151
var expected = "" +
52-
"<http://example.org/cartoons#Tom> <http://example.org/cartoons#dumberThan> <http://example.org/cartoons#Jerry> ;\n" +
52+
"<http://example.org/cartoons#Tom> <http://example.org/cartoons#dumberThan> <http://example.org/cartoons#Jerry>;\n" +
5353
" a <http://example.org/cartoons#cat>.\n";
5454
expect(triples).to.eql(expected);
5555
done();

test/get_spec.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ describe("n3.get", function() {
3030
});
3131
});
3232

33-
it.skip("should convert 'rdf-type' to 'a'", function(done) {
33+
it("should convert 'rdf-type' to 'a'", function(done) {
3434
db.put({
3535
subject: "http://example.org/cartoons#tom"
3636
, predicate: "http://www.w3.org/1999/02/22-rdf-syntax-ns#type"
@@ -46,7 +46,7 @@ describe("n3.get", function() {
4646
});
4747
});
4848

49-
it.skip("should convert two triples into N3, reusing the subject", function(done) {
49+
it("should convert two triples into N3, reusing the subject", function(done) {
5050
db.put([{
5151
subject: "http://example.org/cartoons#Tom"
5252
, predicate: "http://www.w3.org/1999/02/22-rdf-syntax-ns#type"
@@ -60,8 +60,8 @@ describe("n3.get", function() {
6060
subject: "http://example.org/cartoons#Tom"
6161
}, function(err, triples) {
6262
var expected = "" +
63-
"<http://example.org/cartoons#Tom> <http://example.org/cartoons#dumberThan> <http://example.org/cartoons#Jerry> ;\n" +
64-
" a <http://example.org/cartoons#cat> .\n";
63+
"<http://example.org/cartoons#Tom> <http://example.org/cartoons#dumberThan> <http://example.org/cartoons#Jerry>;\n" +
64+
" a <http://example.org/cartoons#cat>.\n";
6565
expect(triples).to.eql(expected);
6666
done();
6767
});

0 commit comments

Comments
 (0)