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.
1 parent a1bdc36 commit fa6b9f7Copy full SHA for fa6b9f7
test/stringio/test_stringio.rb
@@ -21,8 +21,8 @@ def test_do_not_mutate_shared_buffers
21
# In this case, we must use eval because we need two strings literals that
22
# are long enough they cannot be embedded, but also contain the same bytes.
23
24
- a = eval(("x" * 1024).dump)
25
- b = eval(("x" * 1024).dump)
+ a = eval("+"+("x" * 1024).dump)
+ b = eval("+"+("x" * 1024).dump)
26
27
s = StringIO.new(b)
28
s.getc
0 commit comments