From 6fed3bb2f2ac601f6ec85e5f793d381edebcea83 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 8 Jun 2013 21:26:17 -0500 Subject: basex: use test assertion --- Library/Formula/basex.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Formula/basex.rb b/Library/Formula/basex.rb index 4bdc5cd35..10734ad51 100644 --- a/Library/Formula/basex.rb +++ b/Library/Formula/basex.rb @@ -19,7 +19,7 @@ class Basex < Formula test do require 'open3' Open3.popen3("#{bin}/basex", "1 to 10") do |_, stdout, _| - "1 2 3 4 5 6 7 8 9 10" == stdout.read + assert_equal "1 2 3 4 5 6 7 8 9 10", stdout.read end end end -- cgit v1.2.3