jshon: use test assertion

This commit is contained in:
Jack Nagel 2013-06-08 21:26:22 -05:00
parent 5280f98132
commit 10f4d016b2

View file

@ -19,7 +19,7 @@ class Jshon < Formula
Open3.popen3("#{bin}/jshon", "-l") do |stdin, stdout, _|
stdin.write("[true,false,null]")
stdin.close
"3" == stdout.read.strip
assert_equal "3", stdout.read.strip
end
end
end