Permalink
Browse files

Merge branch 'master' into amd-boilerplate

  • Loading branch information...
bryanforbes committed Feb 3, 2012
2 parents 4a60b68 + ff378e3 commit 2a39e88f69e0435654d63ed704cf47b0138460d4
Showing with 15 additions and 1 deletion.
  1. +12 −0 History.md
  2. +2 −0 assert.js
  3. +1 −1 package.json
View
@@ -1,5 +1,17 @@
# Changes #
+## 0.4.4 / 2012-01-15
+
+ - Improve `assert.throws` API to accept exception as an argument.
+
+## 0.4.3 / 2011-11-15
+
+ - Use newer version of ansi-font library.
+
+## 0.4.2 / 2011-11-15
+
+ - Use bug.url to avoid warning form NPM.
+
## 0.4.1 / 2011-07-18 ##
- Improved error reporting.
View
@@ -248,6 +248,8 @@ Assert.prototype = {
// If exception was thrown and `Error` argument was not passed assert is
// passed.
if (threw && (utils.isUndefined(Error) ||
+ // If Error is thrown exception
+ (Error == exception) ||
// If passed `Error` is RegExp using it's test method to
// assert thrown exception message.
(utils.isRegExp(Error) && Error.test(exception.message)) ||
View
@@ -1,6 +1,6 @@
{
"name": "test",
- "version": "0.4.3",
+ "version": "0.4.4",
"description": "UncommonJS test runner.",
"keywords": [ "test", "commonjs", "unit test" ],
"homepage": "https://github.com/Gozala/test-commonjs/",

0 comments on commit 2a39e88

Please sign in to comment.