diff --git a/test/matrix/test_matrix.rb b/test/matrix/test_matrix.rb index 5388772..25ad7b6 100644 --- a/test/matrix/test_matrix.rb +++ b/test/matrix/test_matrix.rb @@ -828,7 +828,7 @@ def test_ractor end.take assert_same obj1, obj2 RUBY - end + end if defined?(Ractor) def test_rotate_with_symbol assert_equal(Matrix[[4, 1], [5, 2], [6, 3]], @m1.rotate_entries)