Skip to content

Commit

Permalink
Update expected error message for change in Gem::Requirement#to_s
Browse files Browse the repository at this point in the history
  • Loading branch information
segiddins committed Jan 8, 2019
1 parent e60a00e commit 5efae43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/resolver_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def self.save!(path, name, index, requirements, resolved)
Unable to satisfy the following requirements:
- `json (>= 1.7.7)` required by `berkshelf (2.0.7)`
- `json (<= 1.7.7, >= 1.4.4)` required by `chef (10.26)`
- `json (>= 1.4.4, <= 1.7.7)` required by `chef (10.26)`
EOS
expect(conflict.message_with_trees(:version_for_spec => lambda(&:version))).to eq <<-EOS.strip
Molinillo could not find compatible versions for possibility named "json":
Expand All @@ -194,7 +194,7 @@ def self.save!(path, name, index, requirements, resolved)
chef_app_error (>= 0) was resolved to 1.0.0, which depends on
chef (~> 10.26) was resolved to 10.26, which depends on
json (<= 1.7.7, >= 1.4.4)
json (>= 1.4.4, <= 1.7.7)
EOS
end
end
Expand Down

0 comments on commit 5efae43

Please sign in to comment.