spec/encoding/encoding_spec.rb in brianmario-yajl-ruby-0.5.7 vs spec/encoding/encoding_spec.rb in brianmario-yajl-ruby-0.5.8

- old
+ new

@@ -50,10 +50,10 @@ input = File.new(File.expand_path(file), 'r') encoder = Yajl::Encoder.new hash = Yajl::Parser.parse(input) output = '' encoder.encode(hash) do |json_str| - output = json_str + output << json_str end hash2 = Yajl::Parser.parse(output) input.close hash.should == hash2 end \ No newline at end of file