Skip to content

Commit

Permalink
[FIX] Remove warning: literal string will be frozen in the future fro…
Browse files Browse the repository at this point in the history
…m render_test
  • Loading branch information
maniSHarma7575 committed May 4, 2024
1 parent 2b14603 commit 38e6ada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionview/test/template/render_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@ def test_render_object
end

def test_render_mutate_string_literal
assert_equal "foobar", @view.render(inline: "'foo' << 'bar'", type: :ruby)
assert_equal "foobar", @view.render(inline: "+'foo' << 'bar'", type: :ruby)
end
end

Expand Down

0 comments on commit 38e6ada

Please sign in to comment.