From 96856b63d507915dd9f2586032d35a08fc025ce8 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 8 Jun 2013 21:26:24 -0500 Subject: [PATCH] newick-utils: use test assertion --- Formula/newick-utils.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/newick-utils.rb b/Formula/newick-utils.rb index 82df8e1141..02aef80fb1 100644 --- a/Formula/newick-utils.rb +++ b/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