aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/testing_env.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2010-06-10 19:39:15 -0700
committerAdam Vandenberg2010-06-10 19:39:15 -0700
commiteb058c0958b649ae3cda4b904693df133c6682d2 (patch)
treebdf660654ba17e988f52722a4238eae2d4739a99 /Library/Homebrew/test/testing_env.rb
parent5462ec27b8b36a35dbf830bc4edcbb15e9bc91e1 (diff)
downloadbrew-eb058c0958b649ae3cda4b904693df133c6682d2.tar.bz2
Fix: attr doesn't take a list.
Diffstat (limited to 'Library/Homebrew/test/testing_env.rb')
-rw-r--r--Library/Homebrew/test/testing_env.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/test/testing_env.rb b/Library/Homebrew/test/testing_env.rb
index dbe3d1687..a12cc1f71 100644
--- a/Library/Homebrew/test/testing_env.rb
+++ b/Library/Homebrew/test/testing_env.rb
@@ -29,7 +29,8 @@ TEST_FOLDER = Pathname.new(ABS__FILE__).parent.realpath
# Note: These exceptions duplicate those defined in globals.
# Perhaps the same definitions should be used in both places.
class ExecutionError <RuntimeError
- attr :exit_status, :command
+ attr :exit_status
+ attr :command
def initialize cmd, args = [], es = nil
@command = cmd