1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/matrix] Guard for < Ruby 3.0

https://github.com/ruby/matrix/commit/1ef660c627
This commit is contained in:
Hiroshi SHIBATA 2021-04-27 21:06:08 +09:00
parent 3af2e8927a
commit ac739f42eb

View file

@ -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)