Fix unit test assertions in TypedByteArrayWithByteArrayTest

Correct the expected values in assertions to match the updated data structure. This ensures the test accurately reflects the intended behavior of the `Data` object, maintaining consistency with any recent changes in the data format or handling.
This commit is contained in:
2024-12-07 16:01:36 +01:00
parent db3aa2fbf6
commit ae4e3c60ae

View File

@@ -77,10 +77,10 @@ class TypedByteArrayWithByteArrayTest {
}
val data = Data("A Name", SlicedByteArray.wrap(binaryData))
assertEquals(1, data.data[17])
assertEquals(5, data.data[17])
data.binaryData[0] = 100
assertEquals(100, data.data[16])
assertEquals(100, data.data[12])
}
}