1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-23 15:16:54 -05:00

use relative paths in test imports (denoland/deno_std#572)

Original: d7a837d599
This commit is contained in:
Bartek Iwańczuk 2019-08-22 09:01:25 +02:00 committed by Ryan Dahl
parent f88a597958
commit 77a20ec119

View file

@ -1,7 +1,7 @@
import { sprintf } from "./sprintf.ts";
import { assertEquals } from "https://deno.land/std/testing/asserts.ts";
import { test, runTests } from "https://deno.land/std/testing/mod.ts";
import { assertEquals } from "../testing/asserts.ts";
import { test, runIfMain } from "../testing/mod.ts";
let S = sprintf;
@ -667,4 +667,4 @@ test(function testErrors(): void {
assertEquals(S("%.[5]*f"), "%!(BAD INDEX)");
});
runTests();
runIfMain(import.meta);