nhaarman / nhaarman/expect.kt

Comparing ByteArray doesn't work

Open
#13 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
46
Forks
8
PR merge metrics
No merged PRs in 30d

Description

The following fails:

```
expect(byteArrayOf(0x01)).toBe(byteArrayOf(0x01))
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the failing byteArrayOf assertion shown in the issue, then trace the assertion path that compares the two ByteArray values. Done means expect(byteArrayOf(0x01)).toBe(byteArrayOf(0x01)) succeeds as written.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
testing
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.