newick-utils: use test assertion

This commit is contained in:
Jack Nagel 2013-06-08 21:26:24 -05:00
parent 4b84a09988
commit 96856b63d5

View file

@ -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