Summary: | dev-ruby/thor-1.0.1 fails tests | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jonathan Lovelace <kingjon3377> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | ionen |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
dev-ruby:thor-1.0.1:20210122-123152.log
emerge-info.txt |
Created attachment 684118 [details]
emerge-info.txt
Does it work if you "eselect ruby set ruby26", it seems to still be trying to use ruby2.5 Good catch! Yes, that works. Thanks! Nice. I'll make this a duplicate for reference, it's still an issue with how effective ruby is handled. *** This bug has been marked as a duplicate of bug 766231 *** |
Created attachment 684115 [details] dev-ruby:thor-1.0.1:20210122-123152.log dev-ruby/thor (both 0.20.3 rebuilding to drop ruby25 support, 0.20.3-r1, and 1.0.1) currently fails a test: Failures: 1) when the Thor class's exit_with_failure? method returns true a command that does not raise a Thor::Error exits with a status of 0 Failure/Error: expect(thor_command("ok")).to eq(0) expected: 0 got: 1 (compared using ==) # ./spec/script_exit_status_spec.rb:27:in `block (2 levels) in <top (required)>' Finished in 2.36 seconds (files took 0.94625 seconds to load) 755 examples, 1 failure Failed examples: rspec ./spec/script_exit_status_spec.rb:26 # when the Thor class's exit_with_failure? method returns true a command that does not raise a Thor::Error exits with a status of 0