diff --git a/assert/strict_equals_test.ts b/assert/strict_equals_test.ts index c22dca55f..df007ad0d 100644 --- a/assert/strict_equals_test.ts +++ b/assert/strict_equals_test.ts @@ -27,16 +27,14 @@ Deno.test({ const y = x as Record; const z = x as unknown; - // y.number; - // ~~~~~~ - // Property 'number' does not exist on type 'Record'.deno-ts(2339) + // @ts-expect-error Property 'number' does not exist on type 'Record'.deno-ts(2339) + y.number; assertStrictEquals(y, x); y.number; // ok - // z.number; - // ~ - // Object is of type 'unknown'.deno-ts(2571) + // @ts-expect-error 'z' is of type 'unknown'.deno-ts(18046) + z.number; assertStrictEquals(z, x); z.number; // ok