Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
node-sass
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
楚学文
node-sass
Commits
58a03c83
Commit
58a03c83
authored
Jan 30, 2014
by
Michał Gołębiowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the whitespace test correctly.
parent
9042fdcf
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
cli.js
test/cli.js
+4
-4
test.js
test/test.js
+4
-4
No files found.
test/cli.js
View file @
58a03c83
...
@@ -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
\
...
...
test/test.js
View file @
58a03c83
...
@@ -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
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment