diff options
Diffstat (limited to 'docs/testing.md')
-rw-r--r-- | docs/testing.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/testing.md b/docs/testing.md index 7ea9ff18c..b075bbca3 100644 --- a/docs/testing.md +++ b/docs/testing.md @@ -32,14 +32,14 @@ https://deno.land/std@$STD_VERSION/testing#usage to make testing easier: ```ts import { - assertArrayContains, + assertArrayIncludes, assertEquals, } from "https://deno.land/std@$STD_VERSION/testing/asserts.ts"; Deno.test("hello world", () => { const x = 1 + 2; assertEquals(x, 3); - assertArrayContains([1, 2, 3, 4, 5, 6], [3], "Expected 3 to be in the array"); + assertArrayIncludes([1, 2, 3, 4, 5, 6], [3], "Expected 3 to be in the array"); }); ``` |