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:
@@ -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])
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user