You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2010/05/28 12:38:43 UTC
svn commit: r949147 -
/couchdb/branches/0.11.x/share/www/script/couch_test_runner.js
Author: jan
Date: Fri May 28 10:38:43 2010
New Revision: 949147
URL: http://svn.apache.org/viewvc?rev=949147&view=rev
Log:
better test suite error messages. Patch by Volker Mische. Closes COUCHDB-777
Modified:
couchdb/branches/0.11.x/share/www/script/couch_test_runner.js
Modified: couchdb/branches/0.11.x/share/www/script/couch_test_runner.js
URL: http://svn.apache.org/viewvc/couchdb/branches/0.11.x/share/www/script/couch_test_runner.js?rev=949147&r1=949146&r2=949147&view=diff
==============================================================================
--- couchdb/branches/0.11.x/share/www/script/couch_test_runner.js (original)
+++ couchdb/branches/0.11.x/share/www/script/couch_test_runner.js Fri May 28 10:38:43 2010
@@ -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) {