Fix the whitespace test correctly.

parent 9042fdcf
...@@ -7,10 +7,10 @@ var path = require('path'), ...@@ -7,10 +7,10 @@ var path = require('path'),
cliPath = path.resolve(__dirname, '../bin/node-sass'), cliPath = path.resolve(__dirname, '../bin/node-sass'),
sampleFilename = path.resolve(__dirname, 'sample.scss'); sampleFilename = path.resolve(__dirname, 'sample.scss');
var expectedSampleCompressed = '#navbar {width:80%;height:23px;}\ var expectedSampleCompressed = '#navbar{width:80%;height:23px;}\
#navbar ul {list-style-type:none;}\ #navbar ul{list-style-type:none;}\
#navbar li {float:left;}\ #navbar li{float:left;}\
#navbar li a {font-weight:bold;}'; #navbar li a{font-weight:bold;}';
var expectedSampleNoComments = '#navbar {\n\ var expectedSampleNoComments = '#navbar {\n\
width: 80%;\n\ width: 80%;\n\
......
...@@ -24,16 +24,16 @@ var scssStr = '#navbar {\ ...@@ -24,16 +24,16 @@ var scssStr = '#navbar {\
var badInput = '#navbar \n\ var badInput = '#navbar \n\
width: 80%'; width: 80%';
var expectedRender = '#navbar{\n\ var expectedRender = '#navbar {\n\
width: 80%;\n\ width: 80%;\n\
height: 23px; }\n\ height: 23px; }\n\
\n\ \n\
#navbar ul{\n\ #navbar ul {\n\
list-style-type: none; }\n\ list-style-type: none; }\n\
\n\ \n\
#navbar li{\n\ #navbar li {\n\
float: left; }\n\ float: left; }\n\
#navbar li a{\n\ #navbar li a {\n\
font-weight: bold; }\n'; font-weight: bold; }\n';
describe("DEPRECATED: compile scss", function() { describe("DEPRECATED: compile scss", function() {
......
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