From 4875101eafd9852c4944eedbe65fd31045a73ef7 Mon Sep 17 00:00:00 2001 From: Robert Newson Date: Wed, 25 Aug 2010 08:56:15 +0000 Subject: fix attachments.js in Safari by treating charset case-insensitively. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@988909 13f79535-47bb-0310-9956-ffa450edef68 --- share/www/script/couch_test_runner.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'share/www/script/couch_test_runner.js') diff --git a/share/www/script/couch_test_runner.js b/share/www/script/couch_test_runner.js index 451a454a..f2d5e0e4 100644 --- a/share/www/script/couch_test_runner.js +++ b/share/www/script/couch_test_runner.js @@ -311,6 +311,11 @@ function TEquals(expected, actual, testName) { "', got '" + repr(actual) + "'", testName); } +function TEqualsIgnoreCase(expected, actual, testName) { + T(equals(expected.toUpperCase(), actual.toUpperCase()), "expected '" + repr(expected) + + "', got '" + repr(actual) + "'", testName); +} + function equals(a,b) { if (a === b) return true; try { -- cgit v1.2.3