diff options
author | Luca Casonato <lucacasonato@yahoo.com> | 2020-07-31 11:12:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-31 11:12:20 +0200 |
commit | 4afb4b6e46de2ed536a3c9828d70d7799b5b6d03 (patch) | |
tree | aa31f3ea3b5ca01a97e13a777eed51c7dcbd17c4 /docs/testing/assertions.md | |
parent | 6e7208bec2911ac0d1729f334fc90bc50b8f9203 (diff) |
feat: add $STD_VERSION replacement variable in docs (#6922)
Diffstat (limited to 'docs/testing/assertions.md')
-rw-r--r-- | docs/testing/assertions.md | 6 |
1 files changed, 3 insertions, 3 deletions
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"); |