diff --git a/test/qunit/unit/test-html-text-parser.js b/test/qunit/unit/test-html-text-parser.js
index f94a556292..29b4defde3 100644
--- a/test/qunit/unit/test-html-text-parser.js
+++ b/test/qunit/unit/test-html-text-parser.js
@@ -174,6 +174,20 @@ test('Event test', function() {
style: {}
}], "Failed path: Size with event");
+ var invalidEventTestString4 = "hello world>";
+ deepEqual(parser.parse(invalidEventTestString5),
+ [{text: "hello world",
+ style: {size: 20,
+ event: {}}
+ }], "Failed path: event name quote not match.");
+
});
@@ -245,7 +259,7 @@ test('Integrate test', function() {
});
test('bold/italic/underline test', function () {
- var stringWithBold = "hello world";
+ var stringWithBold = "hello world";
deepEqual(parser.parse(stringWithBold),
[{text: "hello world", style: {bold: true}}], "bold test");