Skip to content

Commit ec86d90

Browse files
committed
fix: Fixed one broken test after regex rollback
1 parent d6c3a3d commit ec86d90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test-suite.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1132,7 +1132,7 @@
11321132
QUnit.test('DOMPurify.removed should be correct', function (assert) {
11331133
var dirty = '<option><iframe></select><b><script>alert(1)</script>';
11341134
DOMPurify.sanitize(dirty);
1135-
assert.equal(DOMPurify.removed.length, 2);
1135+
assert.equal(DOMPurify.removed.length, 1);
11361136
});
11371137

11381138
// Test 8 to check that DOMPurify.removed is correct if tags are clean

0 commit comments

Comments
 (0)