diff options
author | Chris Rebert <code@rebertia.com> | 2015-08-07 22:19:57 +0300 |
---|---|---|
committer | Chris Rebert <code@rebertia.com> | 2015-08-07 22:19:57 +0300 |
commit | 4be81b4bf3d6bf44f661645f31f02a038c5e3b30 (patch) | |
tree | a14d1d77a7cdb2fa6195d3dfcd888ce2941f882d /test | |
parent | 84e1296e128a69f82f777649e4ecae74cdb76dd3 (diff) |
ESLint: enable spaced-comment
Diffstat (limited to 'test')
-rw-r--r-- | test/postprocessor_test.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/postprocessor_test.js b/test/postprocessor_test.js index ad47242..9b5fc4d 100644 --- a/test/postprocessor_test.js +++ b/test/postprocessor_test.js @@ -1,4 +1,4 @@ -/*eslint-env node */ +/* eslint-env node */ 'use strict'; var postprocessor = require('../src/nodejs/postprocessor.js'); @@ -140,18 +140,18 @@ exports.mq4HoverShim = { 'errors when hoverSelectorPrefix is not provided': function (test) { test.expect(1); test.throws(function () { - /*eslint-disable no-unused-expressions */ + /* eslint-disable no-unused-expressions */ postprocessor({}).process("@media (hover: hover) { .foobar { display: none; } }").css;// jshint ignore:line - /*eslint-enable no-unused-expressions */ + /* eslint-enable no-unused-expressions */ }, Error, 'hoverSelectorPrefix option must be a string'); test.done(); }, 'errors when hoverSelectorPrefix is not a string': function (test) { test.expect(1); test.throws(function () { - /*eslint-disable no-unused-expressions */ + /* eslint-disable no-unused-expressions */ postprocessor({hoverSelectorPrefix: 42}).process("@media (hover: hover) { .foobar { display: none; } }").css;// jshint ignore:line - /*eslint-enable no-unused-expressions */ + /* eslint-enable no-unused-expressions */ }, Error, 'hoverSelectorPrefix option must be a string'); test.done(); } |