Skip to content

Commit

Permalink
Upgrade doctest to doctest2
Browse files Browse the repository at this point in the history
  • Loading branch information
Qqwy committed May 12, 2023
1 parent ef9842a commit f304414
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Expand Up @@ -8,6 +8,6 @@ gem "bundler", "~> 2.0"
group :test do
gem "rake", "~> 12.3", require: false
gem "rspec", "~> 3.0", require: false
gem "doctest-rspec", require: false
gem "doctest2-rspec", require: false
gem "simplecov", require: false
end
2 changes: 1 addition & 1 deletion spec/prop_check/generator_spec.rb
@@ -1,4 +1,4 @@
require 'doctest/rspec'
require 'doctest2/rspec'


RSpec.describe PropCheck::Generator do
Expand Down
3 changes: 1 addition & 2 deletions spec/prop_check/lazy_tree_spec.rb
@@ -1,8 +1,7 @@
require 'doctest/rspec'
require 'doctest2/rspec'

LazyTree = PropCheck::LazyTree

RSpec.describe PropCheck::LazyTree do
doctest PropCheck::LazyTree

end

0 comments on commit f304414

Please sign in to comment.