Browse Source

ignoring whitespace in tests entirely for now, to see what more interesting tests fail

parser-rewrite
nathan@stravinsky.local 16 years ago
parent
commit
f878700164
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      test/mustache_spec.rb

+ 4
- 4
test/mustache_spec.rb View File

@@ -68,7 +68,7 @@ describe "mustache" do
}
JS

run_js(runner).should == expect
run_js(runner).gsub(/\s+/, '').should == expect.gsub(/\s+/, '')
end
it "should sendFun the correct html" do

@@ -92,7 +92,7 @@ describe "mustache" do
}
JS

run_js(runner).strip.should == expect.strip
run_js(runner).strip.gsub(/\s+/, '').should == expect.strip.gsub(/\s+/, '')
end
end
end
@@ -117,7 +117,7 @@ describe "mustache" do
}
JS
run_js(runner).should == expect
run_js(runner).gsub(/\s+/, '').should == expect.gsub(/\s+/, '')
end
it "should sendFun the correct html" do

@@ -143,7 +143,7 @@ describe "mustache" do
}
JS

run_js(runner).strip.should == expect.strip
run_js(runner).strip.gsub(/\s+/, '').should == expect.strip.gsub(/\s+/, '')
end
end
end


Loading…
Cancel
Save