diff --git a/test/index.js b/test/index.js index 4b6080f..a862f43 100644 --- a/test/index.js +++ b/test/index.js @@ -12,10 +12,12 @@ var sass = ruleTester(validator.rule, validator.ruleName, { // base test css(null, function(tr) { tr.ok('.foo { color: red }'); + tr.ok('.foo { color: #123456 }'); tr.notOk('.foo { color: red green }', messages.uncomplete('color')); tr.notOk('.foo { color: 1 }', messages.invalid('color')); tr.notOk('.foo { color: #12345 }', messages.invalid('color')); tr.notOk('.foo { color: &a }', messages.parseError('&a')); + tr.notOk('.foo { baz: 123 }', 'Unknown property: baz'); }); // ignore values with less extenstions