diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2019-05-21 00:31:57 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-21 00:31:57 -0400 |
commit | 0e89ca7b70c7f3dbcaadd330fce277e0434fdc4c (patch) | |
tree | 623533e6bf5fc23f69bfa7a3e4a0f90dfa4a9603 | |
parent | 22feb74ba12215597416b5531f8a557302283e79 (diff) |
website: update http example (#2367)
-rw-r--r-- | website/index.html | 2 | ||||
-rw-r--r-- | website/style_guide.md | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/website/index.html b/website/index.html index 4af6d67a4..9f5db345d 100644 --- a/website/index.html +++ b/website/index.html @@ -108,7 +108,7 @@ href="https://github.com/denoland/deno_install/blob/master/install.ps1">https:// <p>Or a more complex one:</p> - <pre><code class="typescript language-typescript">import { serve } from "https://deno.land/std@v0.3.2/http/server.ts"; + <pre><code class="typescript language-typescript">import { serve } from "https://deno.land/std@v0.5/http/server.ts"; async function main() { const body = new TextEncoder().encode("Hello World\n"); diff --git a/website/style_guide.md b/website/style_guide.md index 09faf04aa..94a3cb4cc 100644 --- a/website/style_guide.md +++ b/website/style_guide.md @@ -289,8 +289,8 @@ test myTestFunction ... ok Example of test: ```ts -import { assertEquals } from "https://deno.land/std@v0.3.1/testing/asserts.ts"; -import { test } from "https://deno.land/std@v0.3.1/testing/mod.ts"; +import { assertEquals } from "https://deno.land/std@v0.5/testing/asserts.ts"; +import { test } from "https://deno.land/std@v0.5/testing/mod.ts"; import { foo } from "./mod.ts"; test(function myTestFunction() { |