From 0e89ca7b70c7f3dbcaadd330fce277e0434fdc4c Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 21 May 2019 00:31:57 -0400 Subject: [PATCH] website: update http example (#2367) --- website/index.html | 2 +- website/style_guide.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/website/index.html b/website/index.html index 4af6d67a45..9f5db345d5 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://

Or a more complex one:

-
import { serve } from "https://deno.land/std@v0.3.2/http/server.ts";
+      
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 09faf04aaf..94a3cb4cc8 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() {