summaryrefslogtreecommitdiff
path: root/tests/specs/run/patch/add/mod.test.ts
blob: 3d3804e07a13d995a5d2aab797fe93f8605e17d5 (plain)
1
2
3
4
5
6
7
8
9
import { add } from "./mod.ts";

// this test should not be run or linted
Deno.test("add", () => {
  let unusedVar = 5; // purposefully causing a lint error to ensure it's not linted
  if (add(1, 2) !== 3) {
    throw new Error("fail");
  }
});