From ed5aedc6b4a1d72208649afd8793e288d94021b1 Mon Sep 17 00:00:00 2001 From: Casper Beyer Date: Sat, 6 Jun 2020 11:43:00 +0800 Subject: Rename abbreviated assertions in std/testing (#6118) --- std/http/server_test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'std/http') 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 -- cgit v1.2.3