Permalink
Browse files

Update README.

  • Loading branch information...
1 parent 6c7df17 commit 34c901eaab0ae6a09398f70c98f7e44a542a2802 @nornagon committed Sep 4, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 README.md
View
@@ -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:
- 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.
## Example
@@ -20,12 +20,12 @@ zap does a little more than that makefile. I wanted:
},
'test that thingy': function (test) {
assert.ok(test.is_awesome, 'test passed!')
- test.finish()
+ test.done()
}
'test asynchronous things': function (test) {
process.nextTick(function () {
assert.ok(test.is_awesome)
- test.finish()
+ test.done()
})
}
}
@@ -40,7 +40,7 @@ zap does a little more than that makefile. I wanted:
## Installing
-Just `npm install zap`.
+Just `npm install -g zap`.
## Details

0 comments on commit 34c901e

Please sign in to comment.