diff options
| author | Jack Nagel | 2014-06-11 12:21:03 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-06-18 20:34:09 -0500 |
| commit | 58a75b0f71924a73085c61cd3dc48abe04aa50c1 (patch) | |
| tree | eaf6e25a42753192a459831dbb2acf18c51e6c50 /Library/Homebrew/test/test_stdlib.rb | |
| parent | 06305e621199409f954b34166194e18e610d4e89 (diff) | |
| download | brew-58a75b0f71924a73085c61cd3dc48abe04aa50c1.tar.bz2 | |
Use assert_predicate
Diffstat (limited to 'Library/Homebrew/test/test_stdlib.rb')
| -rw-r--r-- | Library/Homebrew/test/test_stdlib.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Library/Homebrew/test/test_stdlib.rb b/Library/Homebrew/test/test_stdlib.rb index 0f3fce88d..2e0e93352 100644 --- a/Library/Homebrew/test/test_stdlib.rb +++ b/Library/Homebrew/test/test_stdlib.rb @@ -44,11 +44,11 @@ class CxxStdlibTests < Homebrew::TestCase end def test_apple_compiler_reporting - assert @clang.apple_compiler? - assert @gcc.apple_compiler? - assert @llvm.apple_compiler? - assert @gcc4.apple_compiler? - assert !@gcc48.apple_compiler? + assert_predicate @clang, :apple_compiler? + assert_predicate @gcc, :apple_compiler? + assert_predicate @llvm, :apple_compiler? + assert_predicate @gcc4, :apple_compiler? + refute_predicate @gcc48, :apple_compiler? end def test_type_string_formatting |
