Skip to content

Arrays #6

Description

@mosi0815

As far as i see there is no easy way to compare the content of two arrays.
e.g. I have two ByteArrays.

I would expect the following to work:
written.readBytes().should.equal(data)

It just compares the references and fails.

This one works:
written.readBytes().toList().should.equal(data.asList())

That's a little bit ugly in my opinion.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions