Skip to content

Commit

Permalink
Update README.
Browse files Browse the repository at this point in the history
  • Loading branch information
nornagon committed Sep 4, 2011
1 parent 6c7df17 commit 34c901e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -6,7 +6,7 @@ zap was inspired by a conversation on the freenode #nodejs channel, in which ry
zap does a little more than that makefile. I wanted: zap does a little more than that makefile. I wanted:


- multiple tests per file, in the style of [expresso](http://github.com/visionmedia/expresso), - multiple tests per file, in the style of [expresso](http://github.com/visionmedia/expresso),
- assurance that the tests actually finished (via `test.finish()`), - assurance that the tests actually finished (via `test.done()`),
- pretty output. - pretty output.


## Example ## Example
Expand All @@ -20,12 +20,12 @@ zap does a little more than that makefile. I wanted:
}, },
'test that thingy': function (test) { 'test that thingy': function (test) {
assert.ok(test.is_awesome, 'test passed!') assert.ok(test.is_awesome, 'test passed!')
test.finish() test.done()
} }
'test asynchronous things': function (test) { 'test asynchronous things': function (test) {
process.nextTick(function () { process.nextTick(function () {
assert.ok(test.is_awesome) assert.ok(test.is_awesome)
test.finish() test.done()
}) })
} }
} }
Expand All @@ -40,7 +40,7 @@ zap does a little more than that makefile. I wanted:


## Installing ## Installing


Just `npm install zap`. Just `npm install -g zap`.


## Details ## Details


Expand Down

0 comments on commit 34c901e

Please sign in to comment.