summaryrefslogtreecommitdiff
path: root/std/examples/tests/echo_server_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/examples/tests/echo_server_test.ts')
-rw-r--r--std/examples/tests/echo_server_test.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/std/examples/tests/echo_server_test.ts b/std/examples/tests/echo_server_test.ts
index 3e6096190..475b0f73f 100644
--- a/std/examples/tests/echo_server_test.ts
+++ b/std/examples/tests/echo_server_test.ts
@@ -1,5 +1,5 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
-import { assertStrictEq, assertNotEquals } from "../../testing/asserts.ts";
+import { assertStrictEquals, assertNotEquals } from "../../testing/asserts.ts";
import { BufReader, ReadLineResult } from "../../io/bufio.ts";
Deno.test("[examples/echo_server]", async () => {
@@ -17,7 +17,7 @@ Deno.test("[examples/echo_server]", async () => {
const message = await processReader.readLine();
assertNotEquals(message, null);
- assertStrictEq(
+ assertStrictEquals(
decoder.decode((message as ReadLineResult).line).trim(),
"Listening on 0.0.0.0:8080"
);
@@ -35,7 +35,7 @@ Deno.test("[examples/echo_server]", async () => {
.trim();
const expectedResponse = "Hello echo_server";
- assertStrictEq(actualResponse, expectedResponse);
+ assertStrictEquals(actualResponse, expectedResponse);
} finally {
conn?.close();
process.stdout!.close();