diff options
| author | Misty De Meo | 2016-11-03 16:36:20 -0700 |
|---|---|---|
| committer | Misty De Meo | 2016-11-10 15:08:36 -0800 |
| commit | fbcf500a48bd8a6be2f009c35be5ae971e841b87 (patch) | |
| tree | 73cd6a99532d6170f9e06420bca216b99a534c8c /Library/Homebrew/test/testing_env.rb | |
| parent | 9bac107b31f05cca65d8aab23be05e1b867bd289 (diff) | |
| download | brew-fbcf500a48bd8a6be2f009c35be5ae971e841b87.tar.bz2 | |
Version.parse: return Version::NULL for unparseable strings
Diffstat (limited to 'Library/Homebrew/test/testing_env.rb')
| -rw-r--r-- | Library/Homebrew/test/testing_env.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/testing_env.rb b/Library/Homebrew/test/testing_env.rb index 5f98ace15..4f2619464 100644 --- a/Library/Homebrew/test/testing_env.rb +++ b/Library/Homebrew/test/testing_env.rb @@ -36,7 +36,7 @@ module Homebrew end def assert_version_nil(url) - assert_nil Version.parse(url) + assert Version.parse(url).null? end end |
