We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4f98263 + 742173f commit 219865dCopy full SHA for 219865d
test/engine_test.rb
@@ -286,7 +286,7 @@ def test_empty_template
286
def test_empty_template_returns_a_new_object
287
input = String.new
288
output = Engine.new(input).render
289
- assert input.object_id != output.object_id, 'empty template must return a new object'
+ assert !input.equal?(output), 'empty template must return a new object'
290
end
291
292
def test_empty_template_encoding_matches_input
0 commit comments