Skip to content

Arrays #6

@mosi0815

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.

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