deno.land / std@0.166.0 / _tools / testdata / 01_invalid_imports.md
Copyright 2022-2022 the Deno authors. All rights reserved. MIT license.
import { a, b, c } from "file://a/b/c.ts";
import cheese from "../../goat.ts";
import purr from "https://esm.sh/cat";
import { meow } from "../cat.js";
import { woof } from "./dog.mjs";
import make, { Sound } from "https://cdn.skypack.dev/noise/mod.mjs";
import "https://something.somewhere";
import * as dotenv from "https://deno.land/std/dotenv/mod.ts";
import { assertEquals } from "https://deno.land/std@1.2.3/testing/asserts.ts";
import { walk } from "https://deno.land/std@0.166.0/fs/walk.ts";
import { x, y, z } from "https://example.com/xyz.ts";
let s = make("some noise") as Sound;
import deno from "land";
Another JSDoc comment with a code block. This helps testing line number calculation.
// A fake copyright notice
import generateMockCode from "npm:@generators/mock-code";
const a = 1;
function imitateSome(realCode) {
return generateMockCode(realCode, a);
}
const deceptiveCode = imitateSome("var inception = true;");
A third one, just to be sure.
import something from "somewhere";
CaSe InSeNsItIvE.
import { Caffeine, Tannin } from "https://favourite.cafe";
import { Hops, Yeast } from "https://craft.beer";
Without a language specifier, defaulting to TypeScript.
import { juice } from "https://deno.land/x/fresh/lemon.ts";
A language we don't speak yet.
([]+[])[(![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(!![]+[])[+[]]+([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]()[+!+[]+[!+[]+!+[]]]+([][[]]+[])[!+[]+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+([][[]]+[])[+!+[]]+(!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+([]+[])[(![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(!![]+[])[+[]]+([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]()[+!+[]+[!+[]+!+[]]]
Version Info