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

spec/ruby/library/matrix/: Change the version guard to 3.1.0

[Bug #17521] won't be backported until 3.1.0.
https://github.com/ruby/spec/pull/832
This commit is contained in:
Yusuke Endoh 2021-04-15 13:38:45 +09:00
parent 92545977de
commit df0f60b690

View file

@ -34,7 +34,7 @@ describe "Matrix#**" do
end
end
ruby_version_is '3.0.2' do # https://bugs.ruby-lang.org/issues/17521
ruby_version_is '3.1.0' do # https://bugs.ruby-lang.org/issues/17521
describe "that is 0" do
it "returns the identity for square matrices" do
m = Matrix[ [1, 1], [1, 1] ]