diff options
| author | Vlad Shablinsky | 2016-07-11 16:09:35 +0300 |
|---|---|---|
| committer | Xu Cheng | 2016-07-16 20:39:13 +0800 |
| commit | 3fb5d70a729472a7d7f2a5d0d7b84248921fb583 (patch) | |
| tree | b23f70013abe231fe997f2601ae89814b1f338db /Library/Homebrew/test/testing_env.rb | |
| parent | 454003c4c1ea43f4fd84db96017636fc4c50b318 (diff) | |
| download | brew-3fb5d70a729472a7d7f2a5d0d7b84248921fb583.tar.bz2 | |
Unify Version.create usage
Substitue each Version.new and HeadVersion.new with Version.create
to unify Version and HeadVersion instantiation among core code.
Note that this does not relate to Mac::OS::Version class.
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 35aa00b23..887cb2dbb 100644 --- a/Library/Homebrew/test/testing_env.rb +++ b/Library/Homebrew/test/testing_env.rb @@ -27,7 +27,7 @@ module Homebrew end def assert_version_equal(expected, actual) - assert_equal Version.new(expected), actual + assert_equal Version.create(expected), actual end def assert_version_detected(expected, url, specs={}) |
