Permalink
Browse files

log the passed message.

  • Loading branch information...
1 parent 172b813 commit 89e4a63075183a8de00afbb2624fbb4ec7cf9e82 @fbzhong committed May 15, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 test.js
View
@@ -33,6 +33,8 @@ function assertEqual(expected, actual, message) {
}
passed = false;
console.log('[Error]' + message + 'Expected ' + JSON.stringify(expected) + ' , but actual is ' + JSON.stringify(actual));
+ } else {
+ console.log('[PASS] ' + message);
}
}

0 comments on commit 89e4a63

Please sign in to comment.