Skip to content

Commit

Permalink
Fix errors created when string literals are frozen.
Browse files Browse the repository at this point in the history
[git-p4: depot-paths = "//src/minitest-server/dev/": change = 14178]
  • Loading branch information
zenspider committed Jun 23, 2024
1 parent 40ad746 commit ec7c79b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/minitest/test_server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def assert_run type, e, n
act[-1] = 0 # time
act[-3].map!(&:message)

act[-3][0].gsub!(/0x\h+/, "0xXXXXXX") if act[-3][0]
act[-3][0] = act[-3][0].gsub(/0x\h+/, "0xXXXXXX") if act[-3][0]

exp = ["test/minitest/test_server.rb", "BogoTests", "#{type}_test", e, n, 0]

Expand Down

0 comments on commit ec7c79b

Please sign in to comment.