Commit graph

239 commits

Author SHA1 Message Date
Jake Luer
c2b0ab64f2 Update Assertion#throw to support strings and type checks. 2012-03-07 11:33:04 -05:00
Jake Luer
df1a82dd1e don't switch act/exp 2012-03-03 23:21:01 -05:00
Jake Luer
8a083c11f0 Merge pull request #34 from logicalparadox/assert-operator
Added `assert#operator`.
2012-03-02 19:02:10 -08:00
Veselin Todorov
1123d8f455 Update the compiled verison. 2012-03-02 15:49:25 +02:00
Veselin Todorov
c7cc03f059 Add assert.operator. 2012-03-02 15:49:07 +02:00
Jake Luer
ea4a33a51a Notes on messages. #22 2012-03-01 19:43:13 -05:00
Jake Luer
010810e2b7 browser build 2012-03-01 19:30:01 -05:00
Jake Luer
d0befca9b8 have been test 2012-03-01 19:29:55 -05:00
Jake Luer
fe72b36477 below tests 2012-03-01 19:28:30 -05:00
Jake Luer
9b77c7ca78 Merge branch 'feature/actexp' 2012-03-01 19:28:14 -05:00
Jake Luer
6f521e8cae browser build 2012-03-01 19:27:58 -05:00
Jake Luer
30e13addfa remove unnecessary fail export 2012-03-01 19:27:51 -05:00
Jake Luer
a6447e809e full support for actual/expected where relevant 2012-03-01 19:18:31 -05:00
Jake Luer
56db8a6b09 Assertion.assert support expected value 2012-03-01 18:56:18 -05:00
Jake Luer
0352892e19 clean up error 2012-03-01 18:55:45 -05:00
Jake Luer
dc2ea1324d Release 0.4.2 2012-02-28 13:00:08 -05:00
Jake Luer
00ed5a706d fix for process not available in browser when used via browserify. Closes #28 2012-02-28 12:52:21 -05:00
Jake Luer
7097b6049d Merge pull request #31 from joliss/doc
Document that "should" works in browsers other than IE
2012-02-27 15:26:57 -08:00
Jo Liss
7885f62e81 Document that "should" works in browsers other than IE
I tested this with FF 10, Chrome 18, Safari 5.1 (all work), and
IE 9 (does not work).
2012-02-27 22:57:41 +01:00
Jake Luer
205cd223f7 Merge pull request #30 from logicalparadox/assert-tests
Assert tests
2012-02-27 12:52:45 -08:00
Veselin Todorov
97c23988de Update the browser version of chai. 2012-02-27 22:35:53 +02:00
Veselin Todorov
4c9b513779 Update assert.doesNotThrow test in order to check the use case when type is a string. 2012-02-27 22:34:50 +02:00
Veselin Todorov
e835dc5730 Add test for assert.ifError. 2012-02-27 22:33:44 +02:00
Veselin Todorov
63e1349473 Falsey -> falsy. 2012-02-27 22:33:24 +02:00
Veselin Todorov
e95a29ec5e Full coverage for assert.throws and assert.doesNotThrow. 2012-02-27 22:27:36 +02:00
Veselin Todorov
10c2dc7a76 Add test for assert.doesNotThrow. 2012-02-27 22:22:05 +02:00
Veselin Todorov
4d9bd743a6 Add test for assert.throws. 2012-02-27 22:20:41 +02:00
Veselin Todorov
f28a293e89 Add test for assert.length. 2012-02-27 22:17:44 +02:00
Veselin Todorov
128f6971f8 Add test for assert.include. 2012-02-27 22:14:41 +02:00
Veselin Todorov
04ea811baa Add test for assert.isBoolean. 2012-02-27 22:12:04 +02:00
Veselin Todorov
0ca1a152ff Fix the implementation of assert.isNumber. 2012-02-27 22:10:19 +02:00
Veselin Todorov
5c9e675aea Add test for assert.isNumber. 2012-02-27 22:10:02 +02:00
Veselin Todorov
de757467b2 Add test for assert.isString. 2012-02-27 22:04:17 +02:00
Veselin Todorov
16a6ab1bd3 Add test for assert.isArray. 2012-02-27 22:03:04 +02:00
Veselin Todorov
c95a364a59 Add test for assert.isUndefined. 2012-02-27 22:00:44 +02:00
Veselin Todorov
074ff270cc Add test for assert.isNotNull. 2012-02-27 21:57:30 +02:00
Veselin Todorov
14cd7f720c Fix assert.isNotNull implementation. 2012-02-27 21:55:56 +02:00
Veselin Todorov
95172dafaa Fix assert.isNull implementation. 2012-02-27 21:55:13 +02:00
Veselin Todorov
1fd0ca00f7 Add test for assert.isNull. 2012-02-27 21:35:03 +02:00
Veselin Todorov
875870bf9b Add test for assert.notDeepEqual. 2012-02-27 21:22:17 +02:00
Veselin Todorov
5ce1ef1b40 Add test for assert.deepEqual. 2012-02-27 21:20:39 +02:00
Veselin Todorov
a0794e79d7 Add test for assert.notStrictEqual. 2012-02-27 21:19:05 +02:00
Veselin Todorov
99a38a07f5 Add test for assert.strictEqual. 2012-02-27 21:17:03 +02:00
Veselin Todorov
35bf81bf1e Add test for assert.notEqual. 2012-02-27 21:15:14 +02:00
Jake Luer
eee7fb3eed Release 0.4.1 2012-02-26 13:09:08 -05:00
Jake Luer
b3e57a34ad Merge pull request #27 from logicalparadox/type-fix
Typeof fixes
2012-02-26 09:08:19 -08:00
Veselin Todorov
5ca0b645d1 Update the browser version. 2012-02-25 20:43:57 +02:00
Veselin Todorov
536b6dce20 Add should tests for type checks. 2012-02-25 20:42:49 +02:00
Veselin Todorov
f731ebbc67 Add function type check test. 2012-02-25 20:38:43 +02:00
Veselin Todorov
dadda1bebe Add more type checks tests. 2012-02-25 20:33:05 +02:00