diff options
| author | Jack Nagel | 2014-06-18 20:32:51 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-06-18 20:32:51 -0500 |
| commit | 982e9239b8ba2c2a49ccedec2a108a4580047bcb (patch) | |
| tree | 2f14dcbb8f00b31631d33452359fb56bf6e501c9 /Library/Homebrew/test/test_versions.rb | |
| parent | 55950bec59c45884a457f596eae9a363e1a4f41c (diff) | |
| download | brew-982e9239b8ba2c2a49ccedec2a108a4580047bcb.tar.bz2 | |
Use a custom test class so we can avoid monkeypatching
Diffstat (limited to 'Library/Homebrew/test/test_versions.rb')
| -rw-r--r-- | Library/Homebrew/test/test_versions.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/test/test_versions.rb b/Library/Homebrew/test/test_versions.rb index 241b47441..93abb87d2 100644 --- a/Library/Homebrew/test/test_versions.rb +++ b/Library/Homebrew/test/test_versions.rb @@ -1,7 +1,7 @@ require 'testing_env' require 'version' -class VersionTests < Test::Unit::TestCase +class VersionTests < Homebrew::TestCase include VersionAssertions def test_accepts_objects_responding_to_to_str @@ -28,7 +28,7 @@ class VersionTests < Test::Unit::TestCase end end -class VersionComparisonTests < Test::Unit::TestCase +class VersionComparisonTests < Homebrew::TestCase include VersionAssertions def test_version_comparisons @@ -95,7 +95,7 @@ class VersionComparisonTests < Test::Unit::TestCase end end -class VersionParsingTests < Test::Unit::TestCase +class VersionParsingTests < Homebrew::TestCase include VersionAssertions def test_pathname_version |
