Permalink
Browse files

Fixed README

  • Loading branch information...
1 parent bd8d8b3 commit 869194ed3c9860e06c7166dca1b869c81cd43ab6 @rauchg rauchg committed Dec 19, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
2 README.md
@@ -88,7 +88,7 @@ expect(person).to.be.a(Mammal);
**match**: asserts `String` regular expression match
```js
-program.version.should.match(/[0-9]+\.[0-9]+\.[0-9]+/);
+expect(program.version).to.match(/[0-9]+\.[0-9]+\.[0-9]+/);
```
**contain**: asserts indexOf for an array or string

0 comments on commit 869194e

Please sign in to comment.