diff options
| author | Jack Nagel | 2014-06-11 13:05:10 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-06-11 13:05:10 -0500 |
| commit | f3e9c5c0706f001528b011e6241ceebd848a22fe (patch) | |
| tree | ecbdbb530e7ccf765692f776001d3a5366817c07 /Library/Homebrew/test/test_stdlib.rb | |
| parent | ddc615366c791cbfaedde0eee3c6596c3f5d394a (diff) | |
| download | brew-f3e9c5c0706f001528b011e6241ceebd848a22fe.tar.bz2 | |
Fix up some assertions
Diffstat (limited to 'Library/Homebrew/test/test_stdlib.rb')
| -rw-r--r-- | Library/Homebrew/test/test_stdlib.rb | 8 |
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 |
