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