diff options
| author | Jack Nagel | 2013-06-08 21:26:24 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-06-08 21:32:27 -0500 |
| commit | ea600a0e38738ea9a59b8b782c25d36d1e99a0d1 (patch) | |
| tree | 1530915a4bf6bde53eb06eb7eca297748c12b779 /Library | |
| parent | e499795d71c38e61893bc9955eac6a855f42d714 (diff) | |
| download | homebrew-ea600a0e38738ea9a59b8b782c25d36d1e99a0d1.tar.bz2 | |
newick-utils: use test assertion
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/newick-utils.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
