Permalink
Browse files

Merge pull request #5 from mattwildig/fix-warning

Silence unused variable warning.
  • Loading branch information...
norman committed May 29, 2012
2 parents 4164a87 + 73b0d27 commit 47505ac788b7ffb6129431dfd3f03b69147b3dde
Showing with 1 addition and 1 deletion.
  1. +1 −1 ruby_haml_test.rb
View
@@ -13,7 +13,7 @@ class HamlTest < Test::Unit::TestCase
locals = Hash[(test["locals"] || {}).map {|x, y| [x.to_sym, y]}]
options = Hash[(test["config"] || {}).map {|x, y| [x.to_sym, y]}]
options[:format] = options[:format].to_sym if options.key?(:format)
- engine = Haml::Engine.new(test["haml"], options)
+ engine = Haml::Engine.new(haml, options)
result = engine.render(Object.new, locals)
assert_equal html, result.strip

0 comments on commit 47505ac

Please sign in to comment.