diff options
| author | Mike McQuaid | 2017-01-26 12:02:17 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2017-01-26 12:02:17 +0000 |
| commit | 0fc4a52c6c34deaee59c55b1d7ff3ea62eda2b36 (patch) | |
| tree | 064f3b09bc21a1b4c9b3299e8d6566aa3c41cdd6 /Library/Homebrew/test/shell_test.rb | |
| parent | 92b48ac42e84eb4c113bb3fb362f83b51282c99f (diff) | |
| download | brew-0fc4a52c6c34deaee59c55b1d7ff3ea62eda2b36.tar.bz2 | |
*_test: use assert_nil when appropriate.
This is warned by the newer MiniTest.
Diffstat (limited to 'Library/Homebrew/test/shell_test.rb')
| -rw-r--r-- | Library/Homebrew/test/shell_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/test/shell_test.rb b/Library/Homebrew/test/shell_test.rb index a32d09863..a04ab8331 100644 --- a/Library/Homebrew/test/shell_test.rb +++ b/Library/Homebrew/test/shell_test.rb @@ -14,9 +14,9 @@ class ShellSmokeTest < Homebrew::TestCase end def test_path_to_shell_failure - assert_equal nil, Utils::Shell.path_to_shell("") - assert_equal nil, Utils::Shell.path_to_shell("@@@@@@") - assert_equal nil, Utils::Shell.path_to_shell("invalid_shell-4.2") + assert_nil Utils::Shell.path_to_shell("") + assert_nil Utils::Shell.path_to_shell("@@@@@@") + assert_nil Utils::Shell.path_to_shell("invalid_shell-4.2") end def test_sh_quote |
