From f3e9c5c0706f001528b011e6241ceebd848a22fe Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Wed, 11 Jun 2014 13:05:10 -0500 Subject: Fix up some assertions --- Library/Homebrew/test/test_stdlib.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Library/Homebrew/test/test_stdlib.rb') 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 -- cgit v1.2.3