From dc54574adefe798702cc93457655da40f4939669 Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Wed, 2 Aug 2023 18:53:03 +0200 Subject: Update to ruby/spec@9e278f5 --- spec/ruby/library/matrix/unitary_spec.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'spec/ruby/library/matrix/unitary_spec.rb') diff --git a/spec/ruby/library/matrix/unitary_spec.rb b/spec/ruby/library/matrix/unitary_spec.rb index b579cb244d..04e6df8be0 100644 --- a/spec/ruby/library/matrix/unitary_spec.rb +++ b/spec/ruby/library/matrix/unitary_spec.rb @@ -14,10 +14,8 @@ ruby_version_is ""..."3.1" do Matrix[[0, Complex(0, 1)], [Complex(0, 1), 0]].should.unitary? end - version_is((Matrix::const_defined?(:VERSION) ? Matrix::VERSION : "0.1.0"), "0.3.0") do - it "returns true for unitary matrices with a Complex and a negative #imag" do - Matrix[[0, Complex(0, 1)], [Complex(0, -1), 0]].should.unitary? - end + it "returns true for unitary matrices with a Complex and a negative #imag" do + Matrix[[0, Complex(0, 1)], [Complex(0, -1), 0]].should.unitary? end it "raises an error for rectangular matrices" do -- cgit v1.2.3