summaryrefslogtreecommitdiff
path: root/std/examples/chat
diff options
context:
space:
mode:
Diffstat (limited to 'std/examples/chat')
-rw-r--r--std/examples/chat/server.ts4
-rw-r--r--std/examples/chat/server_test.ts2
2 files changed, 3 insertions, 3 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)));