mirror of
https://github.com/denoland/deno.git
synced 2025-03-03 17:34:47 -05:00
Remove unused imports (#1503)
This commit is contained in:
parent
e29a676b78
commit
6c9695a528
8 changed files with 8 additions and 8 deletions
|
@ -3,7 +3,7 @@ import * as deno from "deno";
|
||||||
// This code has been ported almost directly from Go's src/bytes/buffer_test.go
|
// This code has been ported almost directly from Go's src/bytes/buffer_test.go
|
||||||
// Copyright 2009 The Go Authors. All rights reserved. BSD license.
|
// Copyright 2009 The Go Authors. All rights reserved. BSD license.
|
||||||
// https://github.com/golang/go/blob/master/LICENSE
|
// https://github.com/golang/go/blob/master/LICENSE
|
||||||
import { assert, assertEqual, test } from "./test_util.ts";
|
import { assertEqual, test } from "./test_util.ts";
|
||||||
// N controls how many iterations of certain checks are performed.
|
// N controls how many iterations of certain checks are performed.
|
||||||
const N = 100;
|
const N = 100;
|
||||||
let testBytes: Uint8Array | null;
|
let testBytes: Uint8Array | null;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
||||||
import { Console, libdeno, stringifyArgs, inspect } from "deno";
|
import { Console, libdeno, stringifyArgs, inspect } from "deno";
|
||||||
import { test, assert, assertEqual } from "./test_util.ts";
|
import { test, assertEqual } from "./test_util.ts";
|
||||||
|
|
||||||
const console = new Console(libdeno.print);
|
const console = new Console(libdeno.print);
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
import { test, assert, assertEqual } from "./test_util.ts";
|
import { test, assertEqual } from "./test_util.ts";
|
||||||
|
|
||||||
test(function addEventListenerTest() {
|
test(function addEventListenerTest() {
|
||||||
const document = new EventTarget();
|
const document = new EventTarget();
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
import { test, testPerm, assert, assertEqual } from "./test_util.ts";
|
import { test, assert, assertEqual } from "./test_util.ts";
|
||||||
import * as deno from "deno";
|
import * as deno from "deno";
|
||||||
|
|
||||||
// Logic heavily copied from web-platform-tests, make
|
// Logic heavily copied from web-platform-tests, make
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
import { test, testPerm, assert, assertEqual } from "./test_util.ts";
|
import { testPerm, assert, assertEqual } from "./test_util.ts";
|
||||||
import * as deno from "deno";
|
import * as deno from "deno";
|
||||||
|
|
||||||
testPerm({ write: true }, function mkdirSyncSuccess() {
|
testPerm({ write: true }, function mkdirSyncSuccess() {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
import { test, testPerm, assert, assertEqual } from "./test_util.ts";
|
import { testPerm, assert, assertEqual } from "./test_util.ts";
|
||||||
import * as deno from "deno";
|
import * as deno from "deno";
|
||||||
|
|
||||||
testPerm({ write: true }, function renameSyncSuccess() {
|
testPerm({ write: true }, function renameSyncSuccess() {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
import { test, testPerm, assert, assertEqual } from "./test_util.ts";
|
import { test, testPerm, assertEqual } from "./test_util.ts";
|
||||||
import * as deno from "deno";
|
import * as deno from "deno";
|
||||||
|
|
||||||
test(function resourcesStdio() {
|
test(function resourcesStdio() {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||||
import { test, testPerm, assert, assertEqual } from "./test_util.ts";
|
import { testPerm, assert, assertEqual } from "./test_util.ts";
|
||||||
import * as deno from "deno";
|
import * as deno from "deno";
|
||||||
|
|
||||||
testPerm({ write: true }, function symlinkSyncSuccess() {
|
testPerm({ write: true }, function symlinkSyncSuccess() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue