summaryrefslogtreecommitdiff
path: root/std/testing/asserts_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/testing/asserts_test.ts')
-rw-r--r--std/testing/asserts_test.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/std/testing/asserts_test.ts b/std/testing/asserts_test.ts
index 65645b06b..13dba756d 100644
--- a/std/testing/asserts_test.ts
+++ b/std/testing/asserts_test.ts
@@ -301,7 +301,9 @@ const createHeader = (): string[] => [
"",
"",
` ${gray(bold("[Diff]"))} ${red(bold("Actual"))} / ${
- green(bold("Expected"))
+ green(
+ bold("Expected"),
+ )
}`,
"",
"",
@@ -484,10 +486,7 @@ Deno.test({
Deno.test({
name: "strictly unequal fail case",
fn(): void {
- assertThrows(
- () => assertNotStrictEquals(1, 1),
- AssertionError,
- );
+ assertThrows(() => assertNotStrictEquals(1, 1), AssertionError);
},
});
@@ -499,6 +498,7 @@ Deno.test({
assertArrayContains<boolean>([true, false], [true]);
const value = { x: 1 };
assertStrictEquals<typeof value>(value, value);
+ // eslint-disable-next-line @typescript-eslint/ban-types
assertNotStrictEquals<object>(value, { x: 1 });
},
});