Skip to content

Commit

Permalink
xml2: improve test
Browse files Browse the repository at this point in the history
Closes #6405.

Signed-off-by: Alex Dunn <[email protected]>
  • Loading branch information
zmwangx authored and dunn committed Oct 30, 2016
1 parent 300f315 commit 924f240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formula/xml2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ def install
end

test do
system "echo '<test/>' | \"#{bin}/xml2\""
assert_equal "/test", pipe_output("#{bin}/xml2", "<test/>", 0).chomp
end
end

0 comments on commit 924f240

Please sign in to comment.