Skip to content

Commit

Permalink
Merge pull request #51736 from maniSHarma7575/51689-remove-warning-fr…
Browse files Browse the repository at this point in the history
…om-render-test

[FIX] Remove warning for frozen string literal from the render test for action view
  • Loading branch information
yahonda committed May 5, 2024
2 parents 2b14603 + 38e6ada commit 343e781
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionview/test/template/render_test.rb
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 343e781

Please sign in to comment.