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:
nex3 2006-12-04 03:55:34 +00:00
parent c4032e6acf
commit c8fa8d68f0
1 changed files with 1 additions and 1 deletions

View File

@ -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