jshon: use test assertion
This commit is contained in:
parent
5280f98132
commit
10f4d016b2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue