couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Lehnardt <...@apache.org>
Subject Re: svn commit: r949145 - /couchdb/trunk/share/www/script/couch_test_runner.js
Date Fri, 28 May 2010 10:43:51 GMT

On 28 May 2010, at 12:36, jan@apache.org wrote:

> Author: jan
> Date: Fri May 28 10:36:29 2010
> New Revision: 949145
> 
> URL: http://svn.apache.org/viewvc?rev=949145&view=rev
> Log:
> better test suite error messages. Patch by Volker Mische. Closes COUCHDB-777

that was meant to be 778, sorry :(

Cheers
Jan
--

> 
> Modified:
>    couchdb/trunk/share/www/script/couch_test_runner.js
> 
> Modified: couchdb/trunk/share/www/script/couch_test_runner.js
> URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/script/couch_test_runner.js?rev=949145&r1=949144&r2=949145&view=diff
> ==============================================================================
> --- couchdb/trunk/share/www/script/couch_test_runner.js (original)
> +++ couchdb/trunk/share/www/script/couch_test_runner.js Fri May 28 10:36:29 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) {
> 
> 


Mime
View raw message