Commit 12a3b8d6 authored by Fabio Pelosin's avatar Fabio Pelosin

[Resolver] Reword message

via @segiddins
parent 216f6bb0
...@@ -196,7 +196,7 @@ module Pod ...@@ -196,7 +196,7 @@ module Pod
cached_sets[name] = set cached_sets[name] = set
unless set unless set
raise Informative, "Unable to find a specification for " \ raise Informative, "Unable to find a specification for " \
"`#{dependency}` dependent by #{dependent_spec}." "`#{dependency}` depended upon by #{dependent_spec}."
end end
end end
cached_sets[name] cached_sets[name]
......
...@@ -107,7 +107,7 @@ module Pod ...@@ -107,7 +107,7 @@ module Pod
@resolver.resolve @resolver.resolve
end.message end.message
message.should.match /Unable to find a specification/ message.should.match /Unable to find a specification/
message.should.match /`Windows` dependent by BlocksKit/ message.should.match /`Windows` depended upon by BlocksKit/
end end
it 'does not raise if all dependencies are supported by the platform of the target definition' do it 'does not raise if all dependencies are supported by the platform of the target definition' do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment