Commit c5aa896e by Hampton Catlin

make sure to strip!

parent c9ed7926
......@@ -6,6 +6,9 @@ build: sassc.cpp document.cpp node.cpp token.cpp prelexer.cpp
test: build
ruby spec.rb spec/basic/
test_all: build
ruby spec.rb spec/
clean:
rm -rf *.o
rm -rf bin/*
\ No newline at end of file
......@@ -15,7 +15,7 @@ Dir[File.join(searchpath + "***/input.*")].each do |input_file|
#puts cmd
output = `#{cmd}`
expected_output = File.read(File.join(spec_dir, "output.css"))
if output != expected_output
if output.strip != expected_output.strip
print "F"
messages << "Failed test #{spec_dir}"
else
......
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