Correctly ordering the files in assert_renders_correctly.
git-svn-id: svn://hamptoncatlin.com/haml/branches/1.5dev@194 7063305b-7217-0410-af8c-cdc13e5119b9
This commit is contained in:
parent
c4032e6acf
commit
c8fa8d68f0
|
@ -49,7 +49,7 @@ class SassPluginTest < Test::Unit::TestCase
|
|||
private
|
||||
|
||||
def assert_renders_correctly(name)
|
||||
File.read(tempfile_loc(name)).split("\n").zip(File.read(result_loc(name)).split("\n")).each_with_index do |pair, line|
|
||||
File.read(result_loc(name)).split("\n").zip(File.read(tempfile_loc(name)).split("\n")).each_with_index do |pair, line|
|
||||
message = "template: #{name}\nline: #{line}"
|
||||
assert_equal(pair.first, pair.last, message)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue