aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_ARGV.rb
diff options
context:
space:
mode:
authorJack Nagel2014-06-11 12:22:29 -0500
committerJack Nagel2014-06-11 12:22:29 -0500
commitddc615366c791cbfaedde0eee3c6596c3f5d394a (patch)
tree49dabbd99f71441fc19f5713919ef18c17d5d569 /Library/Homebrew/test/test_ARGV.rb
parent93d8e716410bdf04346791e64b7446528371dfed (diff)
downloadbrew-ddc615366c791cbfaedde0eee3c6596c3f5d394a.tar.bz2
Use assert_empty
Diffstat (limited to 'Library/Homebrew/test/test_ARGV.rb')
-rw-r--r--Library/Homebrew/test/test_ARGV.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/test_ARGV.rb b/Library/Homebrew/test/test_ARGV.rb
index 2a29dadf7..4a112210b 100644
--- a/Library/Homebrew/test/test_ARGV.rb
+++ b/Library/Homebrew/test/test_ARGV.rb
@@ -50,7 +50,7 @@ class ArgvExtensionTests < Test::Unit::TestCase
def test_filter_for_dependencies_clears_flags
@argv << "--HEAD" << "--devel"
- @argv.filter_for_dependencies { assert @argv.empty? }
+ @argv.filter_for_dependencies { assert_empty @argv }
end
def test_filter_for_dependencies_ensures_argv_restored