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:
parent
23108b06b9
commit
785b48a423
1 changed files with 2 additions and 5 deletions
|
@ -430,11 +430,8 @@ browser JavaScript, Deno can import libraries directly from URLs. This example
|
||||||
uses a URL to import a test runner library:
|
uses a URL to import a test runner library:
|
||||||
|
|
||||||
```ts
|
```ts
|
||||||
import {
|
import { test, runIfMain } from "https://deno.land/std/testing/mod.ts";
|
||||||
test,
|
import { assertEquals } from "https://deno.land/std/testing/asserts.ts";
|
||||||
assertEquals,
|
|
||||||
runIfMain
|
|
||||||
} from "https://deno.land/std/testing/mod.ts";
|
|
||||||
|
|
||||||
test(function t1() {
|
test(function t1() {
|
||||||
assertEquals("hello", "hello");
|
assertEquals("hello", "hello");
|
||||||
|
|
Loading…
Add table
Reference in a new issue