summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Joseph Davis <davisp@apache.org>2009-07-12 20:26:48 +0000
committerPaul Joseph Davis <davisp@apache.org>2009-07-12 20:26:48 +0000
commitd8dee3b9e3b9f182982a97cbd8c3517aa8fcf30f (patch)
tree9fe10daee81e40c9ecaf7b75ddeea060ac5de2ff
parent4dd018f63b9a11b1fa8fb743b47ab505e5cf0523 (diff)
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
-rw-r--r--share/www/custom_test.html5
1 files changed, 5 insertions, 0 deletions
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() {