diff options
Diffstat (limited to 'spec/ruby/library/matrix/determinant_spec.rb')
-rw-r--r-- | spec/ruby/library/matrix/determinant_spec.rb | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/spec/ruby/library/matrix/determinant_spec.rb b/spec/ruby/library/matrix/determinant_spec.rb index 825c9907b1..bfd91fcf68 100644 --- a/spec/ruby/library/matrix/determinant_spec.rb +++ b/spec/ruby/library/matrix/determinant_spec.rb @@ -1,7 +1,10 @@ require_relative '../../spec_helper' -require_relative 'shared/determinant' -require 'matrix' -describe "Matrix#determinant" do - it_behaves_like :determinant, :determinant +ruby_version_is ""..."3.1" do + require_relative 'shared/determinant' + require 'matrix' + + describe "Matrix#determinant" do + it_behaves_like :determinant, :determinant + end end |