瀏覽代碼

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

parser-rewrite
nathan@stravinsky.local 16 年之前
父節點
當前提交
f878700164
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. +4
    -4
      test/mustache_spec.rb

+ 4
- 4
test/mustache_spec.rb 查看文件

@@ -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…
取消
儲存