From 01119e2762aa4d7caa5a098a7971000dbfb04be4 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 6 May 2012 00:45:48 -0500 Subject: python: validate output in test Signed-off-by: Jack Nagel --- Library/Formula/python.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Formula/python.rb') diff --git a/Library/Formula/python.rb b/Library/Formula/python.rb index d092ef8ac..18dde436e 100644 --- a/Library/Formula/python.rb +++ b/Library/Formula/python.rb @@ -174,6 +174,6 @@ class Python < Formula def test # See: https://github.com/mxcl/homebrew/pull/10487 - system "#{bin}/python -c 'from decimal import Decimal; print Decimal(4) / Decimal(2)'" + `#{bin}/python -c 'from decimal import Decimal; print Decimal(4) / Decimal(2)'`.chomp == '2' end end -- cgit v1.2.3