Update Firefox pretty print test

At some point, firefox changed the exception message.
This commit is contained in:
Gregg Van Hove and Tim Jarratt
2013-09-30 15:43:44 -07:00
parent 15889494c5
commit 70fb0f0ed5

View File

@@ -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/);
}
});
});