Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arrays #6

Open
mosi0815 opened this issue Nov 10, 2016 · 0 comments
Open

Arrays #6

mosi0815 opened this issue Nov 10, 2016 · 0 comments

Comments

@mosi0815
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant