diff --git a/package.json b/package.json index 7089839..5cac28d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tinytap", - "version": "0.2.0", + "version": "0.2.1", "description": "Tiny TAP tester and test runner.", "main": "./src/tester.js", "bin": { diff --git a/src/tester.js b/src/tester.js index a91546d..3adc7bd 100644 --- a/src/tester.js +++ b/src/tester.js @@ -62,11 +62,11 @@ var t = Object.keys(assert).map(function (k) { }, {}) t.pass = function (m) { - assert(true, m) + t.ok(true, m) } t.fail = function (m) { - assert(false, m) + t.ok(false, m) } t.comment = function (m) {