diff --git a/Library/Homebrew/test/test_json.rb b/Library/Homebrew/test/test_json.rb index 458cfd123a..6bece67c00 100644 --- a/Library/Homebrew/test/test_json.rb +++ b/Library/Homebrew/test/test_json.rb @@ -3,8 +3,8 @@ require 'vendor/multi_json' class JsonSmokeTest < Test::Unit::TestCase def test_encode - hash = { "foo" => ["bar", "baz"], "qux" => 1 } - json = %q|{"foo":["bar","baz"],"qux":1}| + hash = { "foo" => ["bar", "baz"] } + json = %q|{"foo":["bar","baz"]}| assert_equal json, MultiJson.encode(hash) end diff --git a/Library/Homebrew/vendor/multi_json/adapters/ok_json.rb b/Library/Homebrew/vendor/multi_json/adapters/ok_json.rb index 3e36c862eb..9d47738495 100644 --- a/Library/Homebrew/vendor/multi_json/adapters/ok_json.rb +++ b/Library/Homebrew/vendor/multi_json/adapters/ok_json.rb @@ -1,4 +1,4 @@ -require 'multi_json/vendor/okjson' +require 'vendor/multi_json/vendor/okjson' module MultiJson module Adapters