From 4afb4b6e46de2ed536a3c9828d70d7799b5b6d03 Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Fri, 31 Jul 2020 11:12:20 +0200 Subject: feat: add $STD_VERSION replacement variable in docs (#6922) --- docs/testing/assertions.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/testing') diff --git a/docs/testing/assertions.md b/docs/testing/assertions.md index b8874a0e9..9016ddf48 100644 --- a/docs/testing/assertions.md +++ b/docs/testing/assertions.md @@ -1,11 +1,11 @@ ## Assertions To help developers write tests the Deno standard library comes with a built in -[assertions module](https://deno.land/std/testing/asserts.ts) which can be -imported from `https://deno.land/std/testing/asserts.ts`. +[assertions module](https://deno.land/std@$STD_VERSION/testing/asserts.ts) which +can be imported from `https://deno.land/std@$STD_VERSION/testing/asserts.ts`. ```js -import { assert } from "https://deno.land/std/testing/asserts.ts"; +import { assert } from "https://deno.land/std@$STD_VERSION/testing/asserts.ts"; Deno.test("Hello Test", () => { assert("Hello"); -- cgit v1.2.3