summaryrefslogtreecommitdiff
path: root/std/mime
diff options
context:
space:
mode:
authorCasper Beyer <caspervonb@pm.me>2020-06-06 11:43:00 +0800
committerGitHub <noreply@github.com>2020-06-05 23:43:00 -0400
commited5aedc6b4a1d72208649afd8793e288d94021b1 (patch)
treef5039c94c2a4d03182a5b97dbc0471a1b3123eb1 /std/mime
parentc137b11abfb946ef72a5fcb27e11e0b286a33be3 (diff)
Rename abbreviated assertions in std/testing (#6118)
Diffstat (limited to 'std/mime')
-rw-r--r--std/mime/multipart.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/std/mime/multipart.ts b/std/mime/multipart.ts
index 7f7d0c8ee..5d9ee7cf9 100644
--- a/std/mime/multipart.ts
+++ b/std/mime/multipart.ts
@@ -12,7 +12,7 @@ import { extname } from "../path/mod.ts";
import { tempFile } from "../io/util.ts";
import { BufReader, BufWriter } from "../io/bufio.ts";
import { encoder } from "../encoding/utf8.ts";
-import { assertStrictEq, assert } from "../testing/asserts.ts";
+import { assertStrictEquals, assert } from "../testing/asserts.ts";
import { TextProtoReader } from "../textproto/mod.ts";
import { hasOwnProperty } from "../_util/has_own_property.ts";
@@ -178,7 +178,7 @@ class PartReader implements Reader, Closer {
);
if (this.n === 0) {
// Force buffered I/O to read more into buffer.
- assertStrictEq(eof, false);
+ assertStrictEquals(eof, false);
peekLength++;
}
}
@@ -190,7 +190,7 @@ class PartReader implements Reader, Closer {
const nread = min(p.length, this.n);
const buf = p.subarray(0, nread);
const r = await br.readFull(buf);
- assertStrictEq(r, buf);
+ assertStrictEquals(r, buf);
this.n -= nread;
this.total += nread;
return nread;