From af78c1cca89a4534ab0e3ed798791b64f8a88558 Mon Sep 17 00:00:00 2001 From: Ryan McGeary Date: Tue, 26 Oct 2010 19:47:33 -0400 Subject: [PATCH] Fixed test suite to pass on IE --- test/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/index.html b/test/index.html index dfee89d..a53b025 100644 --- a/test/index.html +++ b/test/index.html @@ -298,7 +298,7 @@ module("Parsing"); // Note, different browsers behave slightly different - var correctMatch = /Mon, 18 Dec 1978 17:17:00 GMT/; + var correctMatch = /Mon, 18 Dec 1978 17:17:00 (GMT|UTC)/; test("From Z", function () { ok(($("#testParsing1").html().match(correctMatch)), "Correctly parsed"); @@ -325,7 +325,7 @@ }); test("From blank TZ", function () { - ok(($("#testParsing7").html().match(/Mon, 18 Dec 1978 \d\d:17:00 GMT/)), "Correctly parsed, assumed local time"); + ok(($("#testParsing7").html().match(/Mon, 18 Dec 1978 \d\d:17:00 (GMT|UTC)/)), "Correctly parsed, assumed local time"); }); test("From Z with milliseconds", function () {