summaryrefslogtreecommitdiff
path: root/test/ruby/test_ractor.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_ractor.rb')
-rw-r--r--test/ruby/test_ractor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_ractor.rb b/test/ruby/test_ractor.rb
index e463b504d1..3fc891da23 100644
--- a/test/ruby/test_ractor.rb
+++ b/test/ruby/test_ractor.rb
@@ -123,7 +123,7 @@ class TestRactor < Test::Unit::TestCase
require "tempfile"
require "pathname"
f = Tempfile.new(["file_to_require_from_ractor", ".rb"])
- f.write("puts 'success'")
+ f.write("")
f.flush
result = Ractor.new(f.path) do |path|
require Pathname.new(path)