Created
August 11, 2021 06:44
-
-
Save jodosha/bfeb1953c8f7baab1479cf03e85c41bf to your computer and use it in GitHub Desktop.
dry-configurable test suite output at f44ea91
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Failures: | |
1) Dry::Configurable::DSL compiles but deprecates giving a default as positional argument | |
Failure/Error: expect(logger.string).to match(/#{FileUtils.pwd}.*default value as positional argument to settings is deprecated/) | |
expected "/Users/jodosha/.gem/ruby/3.0.1/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `block in run...ed and will be removed in the next major version\nProvide a `default:` keyword argument instead\n\n" to match /\/Users\/jodosha\/Code\/dry-rb\/dry-configurabl | |
e.*default value as positional argument to settings is deprecated/ | |
Diff: | |
@@ -1,2 +1,3 @@ | |
-/\/Users\/jodosha\/Code\/dry-rb\/dry-configurable.*default value as positional argument to settings is deprecated/ | |
+/Users/jodosha/.gem/ruby/3.0.1/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `block in run' [dry-configurable] default value as positional argument to settings is deprecated and will be removed in the next major version | |
+Provide a `default:` keyword argument instead | |
# ./spec/unit/dry/configurable/dsl_spec.rb:32:in `block (2 levels) in <top (required)>' | |
2) Dry::Configurable::DSL supports but deprecates giving a constructor as a block | |
Failure/Error: expect(logger.string).to match(/#{FileUtils.pwd}.*constructor as a block is deprecated/) | |
expected "/Users/jodosha/.gem/ruby/3.0.1/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `block in run...nd will be removed in the next major version\nProvide a `constructor:` keyword argument instead\n\n" to match /\/Users\/jodosha\/Code\/dry-rb\/dry-configurable.*constructor as a block is deprecated/ | |
Diff: | |
@@ -1,2 +1,3 @@ | |
-/\/Users\/jodosha\/Code\/dry-rb\/dry-configurable.*constructor as a block is deprecated/ | |
+/Users/jodosha/.gem/ruby/3.0.1/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `block in run' [dry-configurable] passing a constructor as a block is deprecated and will be removed in the next major version | |
+Provide a `constructor:` keyword argument instead | |
# ./spec/unit/dry/configurable/dsl_spec.rb:74:in `block (2 levels) in <top (required)>' | |
Finished in 0.15139 seconds (files took 0.3589 seconds to load) | |
125 examples, 2 failures | |
Failed examples: | |
rspec ./spec/unit/dry/configurable/dsl_spec.rb:24 # Dry::Configurable::DSL compiles but deprecates giving a default as positional argument | |
rspec ./spec/unit/dry/configurable/dsl_spec.rb:65 # Dry::Configurable::DSL supports but deprecates giving a constructor as a block | |
Randomized with seed 2795 | |
/Users/jodosha/.rubies/ruby-3.0.1/bin/ruby -I/Users/jodosha/.gem/ruby/3.0.1/gems/rspec-core-3.10.1/lib:/Users/jodosha/.gem/ruby/3.0.1/gems/rspec-support-3.10.2/lib /Users/jodosha/.gem/ruby/3.0.1/gems/rspec-core-3.10.1/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb failed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment