From 3ef94c5473ac77366d009c7a7c665f695670f886 Mon Sep 17 00:00:00 2001 From: Chris Knight Date: Sun, 7 Jun 2020 14:20:33 +0100 Subject: refactor(std): remove testing dependencies from non-test code (#5838) --- std/encoding/csv.ts | 2 +- std/encoding/toml.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'std/encoding') diff --git a/std/encoding/csv.ts b/std/encoding/csv.ts index 3e7164cbb..5af054530 100644 --- a/std/encoding/csv.ts +++ b/std/encoding/csv.ts @@ -7,7 +7,7 @@ import { BufReader } from "../io/bufio.ts"; import { TextProtoReader } from "../textproto/mod.ts"; import { StringReader } from "../io/readers.ts"; -import { assert } from "../testing/asserts.ts"; +import { assert } from "../_util/assert.ts"; const INVALID_RUNE = ["\r", "\n", '"']; diff --git a/std/encoding/toml.ts b/std/encoding/toml.ts index 7e44bdc18..8a0715ab6 100644 --- a/std/encoding/toml.ts +++ b/std/encoding/toml.ts @@ -1,6 +1,6 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { deepAssign } from "../_util/deep_assign.ts"; -import { assert } from "../testing/asserts.ts"; +import { assert } from "../_util/assert.ts"; class KeyValuePair { constructor(public key: string, public value: unknown) {} -- cgit v1.2.3