summaryrefslogtreecommitdiff
path: root/std/examples/chat
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2020-09-27 06:22:32 -0400
committerGitHub <noreply@github.com>2020-09-27 12:22:32 +0200
commitdf02e315075456f8d5f75472abbb1fa81e237827 (patch)
treed0dc9eb502d17f5bfd463bfd9162f46fead4e307 /std/examples/chat
parentc28757f379fd1141c817b21ce2fe4dd86b29cd8c (diff)
feat(fmt): Sort named import and export specifiers (#7711)
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)));