newick-utils: use test assertion
This commit is contained in:
parent
4b84a09988
commit
96856b63d5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue