aboutsummaryrefslogtreecommitdiff
path: root/tests/style-reader.tests.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2015-06-17 14:33:43 +0100
committerMichael Williamson <mike@zwobble.org>2015-06-17 14:33:43 +0100
commit17577bdd715c65e71d81f762b54b8c27f60f4535 (patch)
tree5389d7741881b2d198daf450f915fa9b3527f7e7 /tests/style-reader.tests.js
parentdc31bacddd43e100a2793c76e26d35568262d89a (diff)
Support underlines in style map
Diffstat (limited to 'tests/style-reader.tests.js')
-rw-r--r--tests/style-reader.tests.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/style-reader.tests.js b/tests/style-reader.tests.js
index 7927153..59d7c51 100644
--- a/tests/style-reader.tests.js
+++ b/tests/style-reader.tests.js
@@ -93,6 +93,13 @@ describe("styleReader.readDocumentMatcher", function() {
documentMatchers.run()
);
});
+
+ test("reads underline", function() {
+ assert.deepEqual(
+ readDocumentMatcher("u"),
+ documentMatchers.underline
+ );
+ });
});
describe("styleReader.read", function() {