From 2502fdfadd47489e4659173bd0dd19b2f8636435 Mon Sep 17 00:00:00 2001 From: Phillip Johnsen Date: Sun, 6 Dec 2020 00:58:08 +0100 Subject: [PATCH] Updated deno usage test to avoid use of deprecated URL As seen from the test run log: ``` $ deno test --allow-net=deno.land test/module-systems/deno-test.ts Compile file:///home/runner/work/mustache.js/mustache.js/.deno.test.ts Download deno.land/std@v0.51.0/testing/asserts.ts Warning std versions prefixed with 'v' were deprecated recently. Please change your import to deno.land/std@0.51.0/testing/asserts.ts (at deno.land/std@v0.51.0/testing/asserts.ts) error: Uncaught Error: Import 'deno.land/std@v0.51.0/testing/asserts.ts' failed: 404 Not Found at unwrapResponse ($deno$/ops/dispatch_json.ts:43:11) at Object.sendAsync ($deno$/ops/dispatch_json.ts:98:10) at async processImports ($deno$/compiler.ts:736:23) ``` --- test/module-systems/deno-test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/module-systems/deno-test.ts b/test/module-systems/deno-test.ts index 282a97d..cd991b4 100644 --- a/test/module-systems/deno-test.ts +++ b/test/module-systems/deno-test.ts @@ -1,4 +1,4 @@ -import { assertEquals } from "https://deno.land/std@v0.51.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.51.0/testing/asserts.ts"; import mustache from "../../mustache.mjs"; const view = {