mirror of
https://github.com/denoland/std.git
synced 2024-11-21 20:50:22 +00:00
refactor(assert,expect): import internal APIs from more specific paths (#5923)
This commit is contained in:
parent
766d9c410c
commit
b3e1ebb75f
@ -1,7 +1,11 @@
|
||||
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
||||
// This module is browser compatible.
|
||||
import { equal } from "./equal.ts";
|
||||
import { buildMessage, diff, diffStr, format } from "@std/internal";
|
||||
import { buildMessage } from "@std/internal/build-message";
|
||||
import { diff } from "@std/internal/diff";
|
||||
import { diffStr } from "@std/internal/diff-str";
|
||||
import { format } from "@std/internal/format";
|
||||
|
||||
import { AssertionError } from "./assertion_error.ts";
|
||||
|
||||
/**
|
||||
|
@ -1,6 +1,10 @@
|
||||
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
||||
// This module is browser compatible.
|
||||
import { buildMessage, diff, diffStr, format, red } from "@std/internal";
|
||||
import { buildMessage } from "@std/internal/build-message";
|
||||
import { diff } from "@std/internal/diff";
|
||||
import { diffStr } from "@std/internal/diff-str";
|
||||
import { format } from "@std/internal/format";
|
||||
import { red } from "@std/internal/styles";
|
||||
import { AssertionError } from "./assertion_error.ts";
|
||||
|
||||
/**
|
||||
|
@ -1,6 +1,9 @@
|
||||
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
||||
|
||||
import { buildMessage, diff, diffStr, format } from "@std/internal";
|
||||
import { buildMessage } from "@std/internal/build-message";
|
||||
import { diff } from "@std/internal/diff";
|
||||
import { diffStr } from "@std/internal/diff-str";
|
||||
import { format } from "@std/internal/format";
|
||||
import type { EqualOptions } from "./_types.ts";
|
||||
|
||||
type EqualErrorMessageOptions = Pick<
|
||||
|
Loading…
Reference in New Issue
Block a user