Skip to content

Commit

Permalink
(doc) updated README with assertion macros
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudhead committed May 23, 2010
1 parent 179f854 commit 2f231b1
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,39 @@ writing specs
}
}
});

assertion macros
----------------

### equality #

- assert.equal
- assert.notEqual
- assert.strictEqual
- assert.strictNotEqual

### type #

- assert.isFunction
- assert.isObject
- assert.isNaN
- assert.isString
- assert.isArray
- assert.isBoolean
- assert.isNumber
- assert.isNull
- assert.isUndefined
- assert.typeOf
- assert.instanceOf

### properties #

- assert.include
- assert.match
- assert.length
- assert.isEmpty

### exceptions #

- assert.throws
- assert.doesNotThrow

0 comments on commit 2f231b1

Please sign in to comment.