Skip to content

Commit 09fe9a0

Browse files
committed
Fix one failing tests when string literals are frozen.
[git-p4: depot-paths = "//src/minitest/dev/": change = 14157]
1 parent 08280ac commit 09fe9a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/minitest/test_minitest_assertions.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -957,8 +957,8 @@ def test_assert_same_triggered
957957
@tc.assert_same 1, 2
958958
end
959959

960-
s1 = "blah"
961-
s2 = "blah"
960+
s1 = +"blah"
961+
s2 = +"blah"
962962

963963
assert_triggered 'Expected "blah" (oid=N) to be the same as "blah" (oid=N).' do
964964
@tc.assert_same s1, s2

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy