summaryrefslogtreecommitdiff
path: root/test/matrix/test_matrix.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2021-04-27 21:06:08 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-04-27 21:07:17 +0900
commitac739f42eb85c86efe7a777f5ac6ef9c6cac0011 (patch)
tree9f038791bb0da791b78a1601467571a559c754f5 /test/matrix/test_matrix.rb
parent3af2e8927a50fdb8fda72cf695be6c38aea63257 (diff)
[ruby/matrix] Guard for < Ruby 3.0
https://github.com/ruby/matrix/commit/1ef660c627
Diffstat (limited to 'test/matrix/test_matrix.rb')
-rw-r--r--test/matrix/test_matrix.rb2
1 files changed, 1 insertions, 1 deletions
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)