From 70fb0f0ed53f06b26e5d87bf4042a1bc34479934 Mon Sep 17 00:00:00 2001 From: Gregg Van Hove and Tim Jarratt Date: Mon, 30 Sep 2013 15:43:44 -0700 Subject: [PATCH] Update Firefox pretty print test At some point, firefox changed the exception message. --- spec/javascripts/html/PrettyPrintHtmlSpec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/javascripts/html/PrettyPrintHtmlSpec.js b/spec/javascripts/html/PrettyPrintHtmlSpec.js index 8fd40548..7eea6672 100644 --- a/spec/javascripts/html/PrettyPrintHtmlSpec.js +++ b/spec/javascripts/html/PrettyPrintHtmlSpec.js @@ -9,7 +9,7 @@ describe("j$.pp (HTML Dependent)", function () { it("should print Firefox's wrapped native objects correctly", function() { if(jasmine.getEnv().firefoxVersion) { try { new CustomEvent(); } catch(e) { var err = e; }; - expect(j$.pp(err)).toMatch(/Exception.*Not enough arguments/); + expect(j$.pp(err)).toMatch(/Not enough arguments/); } }); });