aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_stdlib.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/test/test_stdlib.rb')
-rw-r--r--Library/Homebrew/test/test_stdlib.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Homebrew/test/test_stdlib.rb b/Library/Homebrew/test/test_stdlib.rb
index 7bc0c03d6..383577439 100644
--- a/Library/Homebrew/test/test_stdlib.rb
+++ b/Library/Homebrew/test/test_stdlib.rb
@@ -52,14 +52,14 @@ class CxxStdlibTests < Test::Unit::TestCase
end
def test_type_string_formatting
- assert_equal @clang.type_string, 'libstdc++'
- assert_equal @lcxx.type_string, 'libc++'
+ assert_equal "libstdc++", @clang.type_string
+ assert_equal "libc++", @lcxx.type_string
end
def test_constructing_from_tab
stdlib = Tab.dummy_tab.cxxstdlib
- assert_equal stdlib.compiler, :clang
- assert_equal stdlib.type, nil
+ assert_equal :clang, stdlib.compiler
+ assert_nil stdlib.type
end
def test_compatibility_for_non_cxx_software