Skip to content
Browse files

Silence unused variable warning.

Make use of `haml` variable.
  • Loading branch information...
1 parent 4164a87 commit 73b0d27f20274b122bfdb2d58a03c12e3e05eaa8 @mattwildig mattwildig committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 ruby_haml_test.rb
View
2 ruby_haml_test.rb
@@ -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 73b0d27

Please sign in to comment.
Something went wrong with that request. Please try again.