Skip to content

Commit

Permalink
update the tests to use createStream
Browse files Browse the repository at this point in the history
  • Loading branch information
James Halliday committed May 2, 2013
1 parent 5544d26 commit 9420e07
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion test/circular-things.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ tap.test('circular test', function (assert) {
// tt.equal(10, 10)
// tt.end()

test.stream.pipe(tc);
test.createStream().pipe(tc);

test("circular", function (t) {
t.plan(1)
Expand Down
2 changes: 1 addition & 1 deletion test/fail.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ tap.test('array test', function (tt) {
]);
});

test.stream.pipe(tc);
test.createStream().pipe(tc);

test('array', function (t) {
t.plan(5);
Expand Down
2 changes: 1 addition & 1 deletion test/nested.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ tap.test('array test', function (tt) {
]);
});

test.stream.pipe(tc);
test.createStream().pipe(tc);

test('nested array test', function (t) {
t.plan(5);
Expand Down
2 changes: 1 addition & 1 deletion test/only.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ tap.test('tape only test', function (tt) {
tt.end()
})

test.stream.pipe(tc)
test.createStream().pipe(tc)

test("never run fail", function (t) {
t.equal(true, false)
Expand Down
2 changes: 1 addition & 1 deletion test/throw.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ tap.test('throw test', function (tt) {
]);
});

test.stream.pipe(tc);
test.createStream().pipe(tc);

test('thrower', function (t) {
t.equal(1 + 1, 2);
Expand Down
2 changes: 1 addition & 1 deletion test/too_many.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ tap.test('array test', function (tt) {
]);
});

test.stream.pipe(tc);
test.createStream().pipe(tc);

test('array', function (t) {
t.plan(3);
Expand Down

0 comments on commit 9420e07

Please sign in to comment.