summaryrefslogtreecommitdiff
path: root/std/http
diff options
context:
space:
mode:
authorCasper Beyer <caspervonb@pm.me>2020-06-06 11:43:00 +0800
committerGitHub <noreply@github.com>2020-06-05 23:43:00 -0400
commited5aedc6b4a1d72208649afd8793e288d94021b1 (patch)
treef5039c94c2a4d03182a5b97dbc0471a1b3123eb1 /std/http
parentc137b11abfb946ef72a5fcb27e11e0b286a33be3 (diff)
Rename abbreviated assertions in std/testing (#6118)
Diffstat (limited to 'std/http')
-rw-r--r--std/http/server_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/std/http/server_test.ts b/std/http/server_test.ts
index 0423b8726..52cd8c539 100644
--- a/std/http/server_test.ts
+++ b/std/http/server_test.ts
@@ -10,7 +10,7 @@ import {
assert,
assertEquals,
assertMatch,
- assertStrContains,
+ assertStringContains,
assertThrowsAsync,
} from "../testing/asserts.ts";
import { Response, ServerRequest, Server, serve } from "./server.ts";
@@ -480,7 +480,7 @@ test({
const nread = await conn.read(res);
assert(nread !== null);
const resStr = new TextDecoder().decode(res.subarray(0, nread));
- assertStrContains(resStr, "/hello");
+ assertStringContains(resStr, "/hello");
server.close();
await p;
// Client connection should still be open, verify that