Commit cc804e3f authored by Ben Asher's avatar Ben Asher

ArgumentError -> Informative

parent af9f2a2b
...@@ -273,7 +273,7 @@ module Pod ...@@ -273,7 +273,7 @@ module Pod
end end
end end
unless extension_targets_missing_hosts.empty? unless extension_targets_missing_hosts.empty?
raise ArgumentError, "Unable to find host target for #{extension_targets_missing_hosts.map(&:name).join(', ')}. Please add the extension's host targets to the Podfile." raise Informative, "Unable to find host target for #{extension_targets_missing_hosts.map(&:name).join(', ')}. Please add the extension's host targets to the Podfile."
end end
end end
......
...@@ -723,7 +723,7 @@ module Pod ...@@ -723,7 +723,7 @@ module Pod
end end
end end
analyzer = Pod::Installer::Analyzer.new(config.sandbox, podfile) analyzer = Pod::Installer::Analyzer.new(config.sandbox, podfile)
should.raise ArgumentError do should.raise Informative do
analyzer.analyze analyzer.analyze
end.message.should.equal "Unable to find host target for Pods-Today Extension. Please add the extension's host targets to the Podfile." end.message.should.equal "Unable to find host target for Pods-Today Extension. Please add the extension's host targets to the Podfile."
end end
......
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