Commit cfccdd63 by Andrew Nesbitt

Tweaked test colour to avoid ambiguous test case

parent ddb0a607
......@@ -68,7 +68,7 @@ describe('cli', function() {
]);
emitter.on('error', done);
emitter.on('write', function(err, file, css){
assert.equal(css.trim(), 'body {\n background: red;\n color: #0000FF; }');
assert.equal(css.trim(), 'body {\n background: red;\n color: #0000fe; }');
fs.unlink(file, done);
});
});
......
@function colorBlue() {
@return #0000FF;
@return #0000FE;
}
......@@ -111,7 +111,7 @@ describe("compile file with include paths", function(){
file: path.resolve(__dirname, "include_path.scss"),
includePaths: [path.resolve(__dirname, "lib"), path.resolve(__dirname, "functions")],
success: function (css) {
done(assert.equal(css, "body {\n background: red;\n color: #0000FF; }\n"));
done(assert.equal(css, "body {\n background: red;\n color: #0000fe; }\n"));
},
error: function (error) {
done(error);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment