diff options
Diffstat (limited to 'std/mime/multipart.ts')
| -rw-r--r-- | std/mime/multipart.ts | 6 |
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; |
