summaryrefslogtreecommitdiff
path: root/docs/testing
diff options
context:
space:
mode:
authorLuca Casonato <lucacasonato@yahoo.com>2020-07-31 11:12:20 +0200
committerGitHub <noreply@github.com>2020-07-31 11:12:20 +0200
commit4afb4b6e46de2ed536a3c9828d70d7799b5b6d03 (patch)
treeaa31f3ea3b5ca01a97e13a777eed51c7dcbd17c4 /docs/testing
parent6e7208bec2911ac0d1729f334fc90bc50b8f9203 (diff)
feat: add $STD_VERSION replacement variable in docs (#6922)
Diffstat (limited to 'docs/testing')
-rw-r--r--docs/testing/assertions.md6
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");