Skip to content

Commit

Permalink
Can't tell what was supposed to be proved here
Browse files Browse the repository at this point in the history
  • Loading branch information
mostlyobvious committed Jan 5, 2024
1 parent 4e26d57 commit 19eed6a
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -909,10 +909,7 @@ def read_events_backward(repository, stream = nil, from: nil, to: nil, count: ni

specify "can store arbitrary binary data" do
skip unless helper.supports_binary?
binary = String.new("\xB0")
expect(binary.valid_encoding?).to eq(false)
binary.force_encoding("binary")
expect(binary.valid_encoding?).to eq(true)
binary = String.new("\xB0").force_encoding("binary")

repository.append_to_stream([event = SRecord.new(data: binary, metadata: binary)], stream, version_none)
end
Expand Down

0 comments on commit 19eed6a

Please sign in to comment.