From 10f4d016b22010026ba2ff89a9afc47e0f4dce1a Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 8 Jun 2013 21:26:22 -0500 Subject: [PATCH] jshon: use test assertion --- Formula/jshon.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/jshon.rb b/Formula/jshon.rb index 9caa75b912..75b3957c10 100644 --- a/Formula/jshon.rb +++ b/Formula/jshon.rb @@ -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