8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
HashersTest
1 parent bdba864 commit 3d65f79Copy full SHA for 3d65f79
ir/shared/src/test/scala/org/scalajs/ir/HashersTest.scala
@@ -38,11 +38,9 @@ class HashersTest {
38
out.close()
39
out.toByteArray()
40
}
41
+ val actualString = actualBytes.map(b => "%02x".format(b & 0xff)).mkString
42
- val expectedBytes = expected.grouped(2)
43
- .map(Integer.parseInt(_, 16).toByte).toArray
44
-
45
- assertArrayEquals(expectedBytes, actualBytes)
+ assertEquals(expected, actualString)
46
47
48
private val bodyWithInterestingStuff = Block(
0 commit comments