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:
parent
f88a597958
commit
77a20ec119
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue