Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit 7a7b043

Browse files
committed
Remove usages of jruby_9000
1 parent 4aa7564 commit 7a7b043

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spec/rspec/support/method_signature_verifier_spec.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ def arity_kw(x, y:1, z:2); end
220220
expect(valid?(nil, :a => 1)).to eq(false)
221221
end
222222

223-
it 'mentions the invalid keyword args in the error', :pending => RSpec::Support::Ruby.jruby? && !RSpec::Support::Ruby.jruby_9000? do
223+
it 'mentions the invalid keyword args in the error' do
224224
expect(error_for(nil, :a => 0, :b => 1)).to \
225225
eq("Invalid keyword arguments provided: a, b")
226226
end
@@ -240,7 +240,7 @@ def arity_kw(x, y:1, z:2); end
240240
expect(args).to eq([nil, { :y => 1 }])
241241
end
242242

243-
it 'mentions the arity and optional kw args in the description', :pending => RSpec::Support::Ruby.jruby? && !RSpec::Support::Ruby.jruby_9000? do
243+
it 'mentions the arity and optional kw args in the description' do
244244
expect(signature_description).to eq("arity of 1 and optional keyword args (:y, :z)")
245245
end
246246

@@ -321,7 +321,7 @@ def arity_kw(x, y = {}, z:2); end
321321
expect(valid?(nil, 'a' => 1, :b => 2, :z => 3)).to eq(false)
322322
end
323323

324-
it 'mentions the invalid keyword args in the error', :pending => RSpec::Support::Ruby.jruby? && !RSpec::Support::Ruby.jruby_9000? do
324+
it 'mentions the invalid keyword args in the error' do
325325
expect(error_for(1, 2, :a => 0)).to eq("Invalid keyword arguments provided: a")
326326
expect(error_for(1, :a => 0)).to eq("Invalid keyword arguments provided: a")
327327
expect(error_for(1, 'a' => 0, :b => 0)).to eq("Invalid keyword arguments provided: b")
@@ -342,7 +342,7 @@ def arity_kw(x, y = {}, z:2); end
342342
expect(args).to eq([nil, nil, { :y => 1 }])
343343
end
344344

345-
it 'mentions the arity and optional kw args in the description', :pending => RSpec::Support::Ruby.jruby? && !RSpec::Support::Ruby.jruby_9000? do
345+
it 'mentions the arity and optional kw args in the description' do
346346
expect(signature_description).to eq("arity of 1 to 2 and optional keyword args (:z)")
347347
end
348348

0 commit comments

Comments
 (0)