Index: qunit/tests/cssEscaping.js |
=================================================================== |
--- a/qunit/tests/cssEscaping.js |
+++ b/qunit/tests/cssEscaping.js |
@@ -1,11 +1,10 @@ |
"use strict"; |
-(function() |
{ |
const {Filter, ElemHideFilter} = require("filterClasses"); |
const {escapeCSS, quoteCSS} = require("filterComposer"); |
module("CSS escaping"); |
test("CSS escaping", () => |
{ |
@@ -94,9 +93,9 @@ |
// Leading dashes must be escaped, when followed by certain characters. |
testEscape("-" + chr); |
} |
// Test some non-ASCII characters. However, those shouldn't |
// require escaping. |
testEscape("\uD83D\uDE3B\u2665\u00E4"); |
}); |
-}()); |
+} |