diff options
Diffstat (limited to 'test/options-reader.tests.js')
| -rw-r--r-- | test/options-reader.tests.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/options-reader.tests.js b/test/options-reader.tests.js index 06e0764..b0f202b 100644 --- a/test/options-reader.tests.js +++ b/test/options-reader.tests.js @@ -38,6 +38,13 @@ test('lines starting with # in custom style map are ignored', function() { assert.deepEqual(standardOptions.styleMap, options.styleMap.slice(1)); }); +test('blank lines in custom style map are ignored', function() { + var options = readOptions({ + styleMap: "\n\n" + }); + assert.deepEqual(standardOptions.styleMap, options.styleMap); +}); + test('default style mappings are ignored if includeDefaultStyleMap is false', function() { var options = readOptions({ styleMap: "p.SectionTitle => h2", |
