diff options
author | joemclo <joemclo8@gmail.com> | 2019-03-17 00:57:09 +0300 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-03-16 17:57:09 -0400 |
commit | 785b48a423abf98490ac1ea7aebc2020fe445bc1 (patch) | |
tree | 94e4c9c4360f49841047a1924749b6a2db32d1a0 | |
parent | 23108b06b9c8803e44e0e251bdbe193a5cf16ad6 (diff) |
Fix a missing import in manual.md example for testing (#1935)
-rw-r--r-- | website/manual.md | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/website/manual.md b/website/manual.md index 0ba5b0544..e5104e605 100644 --- a/website/manual.md +++ b/website/manual.md @@ -430,11 +430,8 @@ browser JavaScript, Deno can import libraries directly from URLs. This example uses a URL to import a test runner library: ```ts -import { - test, - assertEquals, - runIfMain -} from "https://deno.land/std/testing/mod.ts"; +import { test, runIfMain } from "https://deno.land/std/testing/mod.ts"; +import { assertEquals } from "https://deno.land/std/testing/asserts.ts"; test(function t1() { assertEquals("hello", "hello"); |