diff options
Diffstat (limited to 'std/examples')
-rw-r--r-- | std/examples/chat/server.ts | 4 | ||||
-rw-r--r-- | std/examples/chat/server_test.ts | 2 | ||||
-rw-r--r-- | std/examples/colors.ts | 2 | ||||
-rw-r--r-- | std/examples/echo_server_test.ts | 2 | ||||
-rw-r--r-- | std/examples/test.ts | 2 | ||||
-rw-r--r-- | std/examples/xeval_test.ts | 2 |
6 files changed, 7 insertions, 7 deletions
diff --git a/std/examples/chat/server.ts b/std/examples/chat/server.ts index 238d61fff..ce2e196f3 100644 --- a/std/examples/chat/server.ts +++ b/std/examples/chat/server.ts @@ -1,10 +1,10 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { listenAndServe } from "../../http/server.ts"; import { - acceptWebSocket, acceptable, - WebSocket, + acceptWebSocket, isWebSocketCloseEvent, + WebSocket, } from "../../ws/mod.ts"; import { fromFileUrl } from "../../path/mod.ts"; diff --git a/std/examples/chat/server_test.ts b/std/examples/chat/server_test.ts index 336b188e9..5e30b4ba7 100644 --- a/std/examples/chat/server_test.ts +++ b/std/examples/chat/server_test.ts @@ -3,7 +3,7 @@ import { assert, assertEquals } from "../../testing/asserts.ts"; import { TextProtoReader } from "../../textproto/mod.ts"; import { BufReader } from "../../io/bufio.ts"; import { delay } from "../../async/delay.ts"; -import { resolve, dirname, fromFileUrl } from "../../path/mod.ts"; +import { dirname, fromFileUrl, resolve } from "../../path/mod.ts"; const moduleDir = resolve(dirname(fromFileUrl(import.meta.url))); diff --git a/std/examples/colors.ts b/std/examples/colors.ts index c4cab7e78..5c0f1ac77 100644 --- a/std/examples/colors.ts +++ b/std/examples/colors.ts @@ -1,5 +1,5 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -import { bgBlue, red, bold, italic } from "../fmt/colors.ts"; +import { bgBlue, bold, italic, red } from "../fmt/colors.ts"; if (import.meta.main) { console.log(bgBlue(italic(red(bold("Hello world!"))))); diff --git a/std/examples/echo_server_test.ts b/std/examples/echo_server_test.ts index 1a5286a0e..5334cb610 100644 --- a/std/examples/echo_server_test.ts +++ b/std/examples/echo_server_test.ts @@ -1,5 +1,5 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -import { assertStrictEquals, assertNotEquals } from "../testing/asserts.ts"; +import { assertNotEquals, assertStrictEquals } from "../testing/asserts.ts"; import { BufReader, ReadLineResult } from "../io/bufio.ts"; import { dirname, fromFileUrl } from "../path/mod.ts"; diff --git a/std/examples/test.ts b/std/examples/test.ts index a8ac8c74e..a7b09d5bc 100644 --- a/std/examples/test.ts +++ b/std/examples/test.ts @@ -1,6 +1,6 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { assertEquals } from "../testing/asserts.ts"; -import { dirname, relative, resolve, fromFileUrl } from "../path/mod.ts"; +import { dirname, fromFileUrl, relative, resolve } from "../path/mod.ts"; const moduleDir = dirname(fromFileUrl(import.meta.url)); diff --git a/std/examples/xeval_test.ts b/std/examples/xeval_test.ts index 93e664dde..6ace4f532 100644 --- a/std/examples/xeval_test.ts +++ b/std/examples/xeval_test.ts @@ -3,9 +3,9 @@ import { xeval } from "./xeval.ts"; import { StringReader } from "../io/readers.ts"; import { decode, encode } from "../encoding/utf8.ts"; import { + assert, assertEquals, assertStringContains, - assert, } from "../testing/asserts.ts"; import { dirname, fromFileUrl } from "../path/mod.ts"; |