From d8dee3b9e3b9f182982a97cbd8c3517aa8fcf30f Mon Sep 17 00:00:00 2001 From: Paul Joseph Davis Date: Sun, 12 Jul 2009 20:26:48 +0000 Subject: Added an implementation of Tequals(expect, found, mesg) As per request of Jan. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@793403 13f79535-47bb-0310-9956-ffa450edef68 --- share/www/custom_test.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/share/www/custom_test.html b/share/www/custom_test.html index 742da7d7..2021bdcf 100644 --- a/share/www/custom_test.html +++ b/share/www/custom_test.html @@ -32,6 +32,11 @@ specific language governing permissions and limitations under the License. } } + function Tequals(expect, found, descr) { + var mesg = "expected '" + expect + "', got '" + found + "' " + descr; + T(expect === found, mesg); + } + $(function() { $("#status").removeClass("failure").removeClass("success"); $("#viewcode button.run").click(function() { -- cgit v1.2.3