1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-21 21:50:00 -05:00

Fix a missing import in manual.md example for testing (#1935)

This commit is contained in:
joemclo 2019-03-17 00:57:09 +03:00 committed by Ryan Dahl
parent 23108b06b9
commit 785b48a423

View file

@ -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");