diff options
| author | Jack Nagel | 2014-12-01 11:22:58 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-12-01 11:22:58 -0500 |
| commit | dd3d8a9060bc17377fcd8c79a8c3ba6019a34ea0 (patch) | |
| tree | af9343ab49a2dfa49b64df0573123d4fdbb294e8 /Library/Homebrew/test/test_software_spec.rb | |
| parent | f8b4c3603f0775ef9343d6f5a7403b736a23ff01 (diff) | |
| download | brew-dd3d8a9060bc17377fcd8c79a8c3ba6019a34ea0.tar.bz2 | |
Use better assertions
Diffstat (limited to 'Library/Homebrew/test/test_software_spec.rb')
| -rw-r--r-- | Library/Homebrew/test/test_software_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/test_software_spec.rb b/Library/Homebrew/test/test_software_spec.rb index 723c8aa1b..b801cfd39 100644 --- a/Library/Homebrew/test/test_software_spec.rb +++ b/Library/Homebrew/test/test_software_spec.rb @@ -74,7 +74,7 @@ class SoftwareSpecTests < Homebrew::TestCase def test_deprecated_option @spec.deprecated_option('foo' => 'bar') - assert @spec.deprecated_options.any? + refute_empty @spec.deprecated_options assert_equal "foo", @spec.deprecated_options.first.old assert_equal "bar", @spec.deprecated_options.first.current end |
