diff options
Diffstat (limited to 'tests/testdata/jsr/registry/@std/assert/0.220.1')
4 files changed, 0 insertions, 40 deletions
diff --git a/tests/testdata/jsr/registry/@std/assert/0.220.1/assert.ts b/tests/testdata/jsr/registry/@std/assert/0.220.1/assert.ts deleted file mode 100644 index 8c20c347a..000000000 --- a/tests/testdata/jsr/registry/@std/assert/0.220.1/assert.ts +++ /dev/null @@ -1,4 +0,0 @@ -// deno-lint-ignore-file -export function assert(expr: unknown) { - return true; -} diff --git a/tests/testdata/jsr/registry/@std/assert/0.220.1/assert_equals.ts b/tests/testdata/jsr/registry/@std/assert/0.220.1/assert_equals.ts deleted file mode 100644 index bd58194d0..000000000 --- a/tests/testdata/jsr/registry/@std/assert/0.220.1/assert_equals.ts +++ /dev/null @@ -1,9 +0,0 @@ -// deno-lint-ignore-file -export function assertEquals<T>( - actual: T, - expected: T, - msg?: string, - options: { formatter?: (value: unknown) => string } = {}, -) { - return true; -} diff --git a/tests/testdata/jsr/registry/@std/assert/0.220.1/fail.ts b/tests/testdata/jsr/registry/@std/assert/0.220.1/fail.ts deleted file mode 100644 index 6c21edda5..000000000 --- a/tests/testdata/jsr/registry/@std/assert/0.220.1/fail.ts +++ /dev/null @@ -1,5 +0,0 @@ -// deno-lint-ignore-file - -export function fail() { - return true; -} diff --git a/tests/testdata/jsr/registry/@std/assert/0.220.1/mod.ts b/tests/testdata/jsr/registry/@std/assert/0.220.1/mod.ts deleted file mode 100644 index fdcb56c8c..000000000 --- a/tests/testdata/jsr/registry/@std/assert/0.220.1/mod.ts +++ /dev/null @@ -1,22 +0,0 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. - -/** A library of assertion functions. - * If the assertion is false an `AssertionError` will be thrown which will - * result in pretty-printed diff of failing assertion. - * - * This module is browser compatible, but do not rely on good formatting of - * values for AssertionError messages in browsers. - * - * ```ts - * import { assert } from "@std/assert/assert"; - * - * assert("I am truthy"); // Doesn't throw - * assert(false); // Throws `AssertionError` - * ``` - * - * @module - */ - -export * from "./assert_equals.ts"; -export * from "./assert.ts"; -export * from "./fail.ts"; |
