spec/stateful_spec.rb in yaml-write-stream-2.0.1 vs spec/stateful_spec.rb in yaml-write-stream-2.0.2
- old
+ new
@@ -29,10 +29,10 @@
stream_writer.write_element('abc')
stream_writer.write_map
stream_writer.write_key_value('def', 'ghi')
stream_writer.close
- expect(stream.string).to eq(utf8("- abc\n- def: \"ghi\"\n"))
+ expect(stream.string).to eq(utf8("- \"abc\"\n- def: \"ghi\"\n"))
expect(stream_writer).to be_closed
expect(stream).to be_closed
end
it 'dumps numbers without quotes and without non-specific (implicit) tag notation' do