diff options
Diffstat (limited to 'Library/Formula/ddate.rb')
| -rw-r--r-- | Library/Formula/ddate.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Formula/ddate.rb b/Library/Formula/ddate.rb index ad8322ac7..a2f6a65af 100644 --- a/Library/Formula/ddate.rb +++ b/Library/Formula/ddate.rb @@ -19,8 +19,7 @@ class Ddate < Formula end test do - out = `#{bin}/ddate 20 6 2014` - assert_equal "Sweetmorn, Confusion 25, 3180 YOLD\n", out - assert_equal 0, $?.exitstatus + output = shell_output("#{bin}/ddate 20 6 2014").strip + assert_equal "Sweetmorn, Confusion 25, 3180 YOLD", output end end |
