jsonnet: replace Utils::JSON with corelib JSON.

This commit is contained in:
William Woodruff 2016-11-20 13:58:32 -05:00
parent 9340f46bd8
commit ff0e136c3b
No known key found for this signature in database
GPG key ID: 85AE00C504833B3C

View file

@ -22,8 +22,6 @@ class Jsonnet < Formula
end
test do
require "utils/json"
(testpath/"example.jsonnet").write <<-EOS
{
person1: {
@ -46,6 +44,6 @@ class Jsonnet < Formula
}
output = shell_output("#{bin}/jsonnet #{testpath}/example.jsonnet")
assert_equal expected_output, Utils::JSON.load(output)
assert_equal expected_output, JSON.parse(output)
end
end