diff options
author | Paul Joseph Davis <davisp@apache.org> | 2009-11-12 02:17:41 +0000 |
---|---|---|
committer | Paul Joseph Davis <davisp@apache.org> | 2009-11-12 02:17:41 +0000 |
commit | dbf062b847922c8bffa43915324d8f75646a3dce (patch) | |
tree | 549af776e7e809111d6f5ecb78cbc3c54f7d5f85 /share/www/script | |
parent | 22d7cb27c21c579eb28ca1ba6fadfee13f1dab72 (diff) |
Whoops. No alerts in tests plzkthx.
Forgot to replace a debugging alert.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@835195 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/script')
-rw-r--r-- | share/www/script/test/erlang_views.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/share/www/script/test/erlang_views.js b/share/www/script/test/erlang_views.js index c3201cdd..4e1e676e 100644 --- a/share/www/script/test/erlang_views.js +++ b/share/www/script/test/erlang_views.js @@ -127,6 +127,7 @@ couchTests.erlang_views = function(debug) { var rfun = 'fun(Keys, Values, RR) -> length(Values) end.'; var results = db.query(mfun, rfun, null, null, "erlang"); - alert(JSON.stringify(results)); + T(results.rows[0].key === null, "Returned a reduced value."); + T(results.rows[0].value > 0, "Reduce value exists."); }); }; |