diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2020-09-27 06:22:32 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-27 12:22:32 +0200 |
commit | df02e315075456f8d5f75472abbb1fa81e237827 (patch) | |
tree | d0dc9eb502d17f5bfd463bfd9162f46fead4e307 /std/io | |
parent | c28757f379fd1141c817b21ce2fe4dd86b29cd8c (diff) |
feat(fmt): Sort named import and export specifiers (#7711)
Diffstat (limited to 'std/io')
-rw-r--r-- | std/io/README.md | 4 | ||||
-rw-r--r-- | std/io/bufio_test.ts | 4 | ||||
-rw-r--r-- | std/io/streams_test.ts | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/std/io/README.md b/std/io/README.md index 09918fcc4..ca0f5f441 100644 --- a/std/io/README.md +++ b/std/io/README.md @@ -101,9 +101,9 @@ Create a `Writer` object for `string`. ```ts import { - StringWriter, - StringReader, copyN, + StringReader, + StringWriter, } from "https://deno.land/std/io/mod.ts"; const w = new StringWriter("base"); diff --git a/std/io/bufio_test.ts b/std/io/bufio_test.ts index bddefb38c..d647082ad 100644 --- a/std/io/bufio_test.ts +++ b/std/io/bufio_test.ts @@ -5,14 +5,14 @@ // license that can be found in the LICENSE file. import { assert, assertEquals, fail } from "../testing/asserts.ts"; import { + BufferFullError, BufReader, BufWriter, BufWriterSync, - BufferFullError, PartialReadError, ReadLineResult, - readStringDelim, readLines, + readStringDelim, } from "./bufio.ts"; import * as iotest from "./_iotest.ts"; import { StringReader } from "./readers.ts"; diff --git a/std/io/streams_test.ts b/std/io/streams_test.ts index 4579e3668..81881ceb9 100644 --- a/std/io/streams_test.ts +++ b/std/io/streams_test.ts @@ -1,7 +1,7 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -import { assertEquals, assert } from "../testing/asserts.ts"; -import { fromStreamWriter, fromStreamReader } from "./streams.ts"; +import { assert, assertEquals } from "../testing/asserts.ts"; +import { fromStreamReader, fromStreamWriter } from "./streams.ts"; function repeat(c: string, bytes: number): Uint8Array { assertEquals(c.length, 1); |