We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fa0067 commit 5f14e97Copy full SHA for 5f14e97
spec/base_classes/apple_note.rb
@@ -130,8 +130,8 @@
130
131
it "properly decompresses the gzipped copy of modern notes" do
132
tmp_note.decompress_data
133
- expected_data = File.read(TEST_BLOB_DATA_DIR + "simple_note_protobuf.bin").force_encoding("US-ASCII")
134
- expect(tmp_note.decompressed_data.force_encoding("US-ASCII")).to eql(expected_data)
+ expected_data = File.read(TEST_BLOB_DATA_DIR + "simple_note_protobuf.bin")
+ expect(tmp_note.decompressed_data.force_encoding("UTF-8")).to eql(expected_data)
135
end
136
137
it "properly extracts text from the protobuf of modern notes" do
0 commit comments