diff options
author | Jan Lehnardt <jan@apache.org> | 2010-05-28 10:36:29 +0000 |
---|---|---|
committer | Jan Lehnardt <jan@apache.org> | 2010-05-28 10:36:29 +0000 |
commit | 80cb0d760e72316d8cf4ef98fdf79c98b2d82138 (patch) | |
tree | 8471c4e1bf398e23b3ac92fdb8a336c9a144baab | |
parent | c83d31a3408469e45aabbefee369aa4bd64e453e (diff) |
better test suite error messages. Patch by Volker Mische. Closes COUCHDB-777
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@949145 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | share/www/script/couch_test_runner.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/share/www/script/couch_test_runner.js b/share/www/script/couch_test_runner.js index 60bf1be7..b3478ad8 100644 --- a/share/www/script/couch_test_runner.js +++ b/share/www/script/couch_test_runner.js @@ -305,7 +305,8 @@ function T(arg1, arg2, testName) { } function TEquals(expected, actual, testName) { - T(equals(expected, actual), "expected '" + expected + "', got '" + actual + "'", testName); + T(equals(expected, actual), "expected '" + repr(expected) + + "', got '" + repr(actual) + "'", testName); } function equals(a,b) { |