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) --- cli/tests/unit/buffer_test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/tests/unit/buffer_test.ts') diff --git a/cli/tests/unit/buffer_test.ts b/cli/tests/unit/buffer_test.ts index ac2d7db7b..a5a0147ab 100644 --- a/cli/tests/unit/buffer_test.ts +++ b/cli/tests/unit/buffer_test.ts @@ -6,7 +6,7 @@ import { assertEquals, assert, - assertStrContains, + assertStringContains, unitTest, } from "./test_util.ts"; @@ -164,7 +164,7 @@ unitTest(async function bufferTooLargeByteWrites(): Promise { } assert(err instanceof Error); - assertStrContains(err.message, "grown beyond the maximum size"); + assertStringContains(err.message, "grown beyond the maximum size"); }); unitTest(async function bufferLargeByteReads(): Promise { -- cgit v1.2.3