From ea600a0e38738ea9a59b8b782c25d36d1e99a0d1 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 8 Jun 2013 21:26:24 -0500 Subject: newick-utils: use test assertion --- Library/Formula/newick-utils.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Formula/newick-utils.rb b/Library/Formula/newick-utils.rb index 82df8e114..02aef80fb 100644 --- a/Library/Formula/newick-utils.rb +++ b/Library/Formula/newick-utils.rb @@ -34,7 +34,7 @@ EOS Open3.popen3("#{bin}/nw_display", "-") do |stdin, stdout, _| stdin.write("(B:1,C:2)A;\n") stdin.close - expected == stdout.read.split("\n").map(&:rstrip).join("\n") + assert_equal expected, stdout.read.split("\n").map(&:rstrip).join("\n") end end end -- cgit v1.2.3