diff options
| author | Mike McQuaid | 2016-11-15 08:15:42 +0000 |
|---|---|---|
| committer | GitHub | 2016-11-15 08:15:42 +0000 |
| commit | 484e3e0769d9eee760f46afb67fb2ce1bfe6e33d (patch) | |
| tree | 4223979597492b8e36c7eb21c561fd6bd8a60d15 /Library/Homebrew/test/test_utils.rb | |
| parent | 30fdbe089b6a7d91dd12132b46436f90dad60c88 (diff) | |
| parent | ca3562645c30b86da5057cf2f8de9974c4a18413 (diff) | |
| download | brew-484e3e0769d9eee760f46afb67fb2ce1bfe6e33d.tar.bz2 | |
Merge pull request #1498 from alyssais/uninstall_developer_warning
Warn developers when uninstalling a dependency
Diffstat (limited to 'Library/Homebrew/test/test_utils.rb')
| -rw-r--r-- | Library/Homebrew/test/test_utils.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/test/test_utils.rb b/Library/Homebrew/test/test_utils.rb index 11332e450..7c0b6f78a 100644 --- a/Library/Homebrew/test/test_utils.rb +++ b/Library/Homebrew/test/test_utils.rb @@ -174,6 +174,10 @@ class UtilTests < Homebrew::TestCase end end + def test_capture_stderr + assert_equal "test\n", capture_stderr { $stderr.puts "test" } + end + def test_shell_profile ENV["SHELL"] = "/bin/sh" assert_equal "~/.bash_profile", Utils::Shell.shell_profile |
