From ac739f42eb85c86efe7a777f5ac6ef9c6cac0011 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 27 Apr 2021 21:06:08 +0900 Subject: [ruby/matrix] Guard for < Ruby 3.0 https://github.com/ruby/matrix/commit/1ef660c627 --- test/matrix/test_matrix.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/matrix/test_matrix.rb b/test/matrix/test_matrix.rb index 53887729ef..25ad7b6b95 100644 --- a/test/matrix/test_matrix.rb +++ b/test/matrix/test_matrix.rb @@ -828,7 +828,7 @@ class TestMatrix < Test::Unit::TestCase 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) -- cgit v1.2.3