Browse files

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
  • Loading branch information...
1 parent 4dd018f commit d8dee3b9e3b9f182982a97cbd8c3517aa8fcf30f @davisp davisp committed Jul 12, 2009
Showing with 5 additions and 0 deletions.
  1. +5 −0 share/www/custom_test.html
View
5 share/www/custom_test.html
@@ -32,6 +32,11 @@
}
}
+ 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() {

0 comments on commit d8dee3b

Please sign in to comment.