Skip to content

Commit

Permalink
Import from ruby/strscan#19
Browse files Browse the repository at this point in the history
* Use Gemfile instead of Gem::Specification#add_development_dependency.

* Use pend instead of skip for test-unit.
  • Loading branch information
hsbt committed May 6, 2021
1 parent 364044e commit 822eb94
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions ext/strscan/strscan.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,4 @@ Gem::Specification.new do |s|
s.email = [nil, "[email protected]"]
s.homepage = "https://github.com/ruby/strscan"
s.licenses = ["Ruby", "BSD-2-Clause"]

s.add_development_dependency "rake-compiler"
s.add_development_dependency "benchmark-driver"
s.add_development_dependency "test-unit"
end
2 changes: 1 addition & 1 deletion test/strscan/test_ractor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

class TestStringScannerRactor < Test::Unit::TestCase
def setup
skip unless defined? Ractor
pend unless defined? Ractor
end

def test_ractor
Expand Down

0 comments on commit 822eb94

Please sign in to comment.