chore: Use relative paths for assert imports to avoid test flakes (#19427)

Tests occasionally fail if we get a bad gateway attempting to fetch the
assertion module
This commit is contained in:
Matt Mastracci 2023-06-08 12:10:37 -06:00 committed by GitHub
parent 55f0150854
commit db9482d688
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 14 additions and 8 deletions

View file

@ -1,6 +1,6 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
import { assertEquals } from "https://deno.land/std@v0.42.0/testing/asserts.ts";
import { assertEquals } from "../../../test_util/std/testing/asserts.ts";
import { assert, assertStringIncludes, unreachable } from "./test_util.ts";
Deno.test(async function sendAsyncStackTrace() {

View file

@ -1,6 +1,6 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
import { assertMatch } from "https://deno.land/std@v0.42.0/testing/asserts.ts";
import { assertMatch } from "../../../test_util/std/testing/asserts.ts";
import { Buffer, BufReader, BufWriter } from "../../../test_util/std/io/mod.ts";
import { TextProtoReader } from "../testdata/run/textproto.ts";
import {