Skip to content

Commit 1ef660c

Browse files
committed
Guard for < Ruby 3.0
1 parent 200f2a0 commit 1ef660c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: test/matrix/test_matrix.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,7 @@ def test_ractor
828828
end.take
829829
assert_same obj1, obj2
830830
RUBY
831-
end
831+
end if defined?(Ractor)
832832

833833
def test_rotate_with_symbol
834834
assert_equal(Matrix[[4, 1], [5, 2], [6, 3]], @m1.rotate_entries)

0 commit comments

Comments
 (0)