Skip to content

Commit 30cf94a

Browse files
committed
test: Use Ractor#value
1 parent 5b7c863 commit 30cf94a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test-ractor.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ class RactorTest < Test::Unit::TestCase
1111
r = Ractor.new do
1212
[1, 2, 3, 4].mean
1313
end
14-
assert_equal(2.5, r.take)
14+
assert_equal(2.5, r.value)
1515
end
1616
end

0 commit comments

Comments
 (0)