Skip to content

Commit

Permalink
refactor(test): rename src/__tests__/utils.ts to src/testutils.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
susisu committed Apr 27, 2024
1 parent 0563a20 commit cc5429d
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions src/char.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Equal } from "./__tests__/utils";
import { describe, it, assert } from "./__tests__/utils";
import type { Equal } from "./testutils";
import { describe, it, assert } from "./testutils";
import type { Incr, Decr } from "./char";

describe("Incr", () => {
Expand Down
4 changes: 2 additions & 2 deletions src/list.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Equal } from "./__tests__/utils";
import { describe, it, assert } from "./__tests__/utils";
import type { Equal } from "./testutils";
import { describe, it, assert } from "./testutils";
import type { Head, Tail, Cons } from "./list";

describe("Head", () => {
Expand Down
4 changes: 2 additions & 2 deletions src/memory.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Equal } from "./__tests__/utils";
import { describe, it, assert } from "./__tests__/utils";
import type { Equal } from "./testutils";
import { describe, it, assert } from "./testutils";
import type { Memory, Read, Write, MoveL, MoveR } from "./memory";

describe("Read", () => {
Expand Down
4 changes: 2 additions & 2 deletions src/string.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Equal } from "./__tests__/utils";
import { describe, it, assert } from "./__tests__/utils";
import type { Equal } from "./testutils";
import { describe, it, assert } from "./testutils";
import type { Head, Tail, Concat } from "./string";

describe("Head", () => {
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/utils.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Equal } from "./__tests__/utils";
import { describe, it, assert } from "./__tests__/utils";
import type { Equal } from "./testutils";
import { describe, it, assert } from "./testutils";
import type { Recurse } from "./utils";

describe("Recurse", () => {
Expand Down
4 changes: 2 additions & 2 deletions src/vm.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Equal } from "./__tests__/utils";
import { describe, it, assert } from "./__tests__/utils";
import type { Equal } from "./testutils";
import { describe, it, assert } from "./testutils";
import type { Brainfuck } from "./vm";
import type { Recurse } from "./utils";

Expand Down

0 comments on commit cc5429d

Please sign in to comment.