diff --git a/bytes/bytes_test.ts b/bytes/bytes_test.ts index c0aa1519dd60..647f8c9ddda7 100644 --- a/bytes/bytes_test.ts +++ b/bytes/bytes_test.ts @@ -9,7 +9,7 @@ import { assertEquals } from "../testing/asserts.ts"; test(function bytesBytesFindIndex(): void { const i = bytesFindIndex( - new Uint8Array([1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 3]), + new Uint8Array([0, 1, 0, 1, 2, 0, 1, 2, 0, 1, 3]), new Uint8Array([0, 1, 2]) ); assertEquals(i, 2); @@ -17,7 +17,7 @@ test(function bytesBytesFindIndex(): void { test(function bytesBytesFindLastIndex1(): void { const i = bytesFindLastIndex( - new Uint8Array([0, 1, 2, 0, 1, 2, 0, 1, 3]), + new Uint8Array([0, 1, 2, 0, 1, 2, 1, 2]), new Uint8Array([0, 1, 2]) ); assertEquals(i, 3);