Skip to content

Commit

Permalink
use relative paths in test imports (denoland#572)
Browse files Browse the repository at this point in the history
  • Loading branch information
bartlomieju authored and ry committed Aug 22, 2019
1 parent f1c4c1a commit d7a837d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fmt/sprintf_test.ts
Original file line number Diff line number Diff line change
@@ -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;

Expand Down Expand Up @@ -667,4 +667,4 @@ test(function testErrors(): void {
assertEquals(S("%.[5]*f"), "%!(BAD INDEX)");
});

runTests();
runIfMain(import.meta);

0 comments on commit d7a837d

Please sign in to comment.