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
c5aa896e
Commit
c5aa896e
authored
Feb 29, 2012
by
Hampton Catlin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make sure to strip!
parent
c9ed7926
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
Makefile
Makefile
+4
-0
spec.rb
spec.rb
+1
-1
No files found.
Makefile
View file @
c5aa896e
...
@@ -6,6 +6,9 @@ build: sassc.cpp document.cpp node.cpp token.cpp prelexer.cpp
...
@@ -6,6 +6,9 @@ build: sassc.cpp document.cpp node.cpp token.cpp prelexer.cpp
test
:
build
test
:
build
ruby spec.rb spec/basic/
ruby spec.rb spec/basic/
test_all
:
build
ruby spec.rb spec/
clean
:
clean
:
rm
-rf
*
.o
rm
-rf
*
.o
rm
-rf
bin/
*
rm
-rf
bin/
*
\ No newline at end of file
spec.rb
View file @
c5aa896e
...
@@ -15,7 +15,7 @@ Dir[File.join(searchpath + "***/input.*")].each do |input_file|
...
@@ -15,7 +15,7 @@ Dir[File.join(searchpath + "***/input.*")].each do |input_file|
#puts cmd
#puts cmd
output
=
`
#{
cmd
}
`
output
=
`
#{
cmd
}
`
expected_output
=
File
.
read
(
File
.
join
(
spec_dir
,
"output.css"
))
expected_output
=
File
.
read
(
File
.
join
(
spec_dir
,
"output.css"
))
if
output
!=
expected_output
if
output
.
strip
!=
expected_output
.
strip
print
"F"
print
"F"
messages
<<
"Failed test
#{
spec_dir
}
"
messages
<<
"Failed test
#{
spec_dir
}
"
else
else
...
...
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