Skip to content

Commit

Permalink
refactor: rename util to utils
Browse files Browse the repository at this point in the history
  • Loading branch information
susisu committed Feb 20, 2024
1 parent 1080192 commit 4945a4a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/util.test.ts → src/utils.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Equal } from "./__tests__/utils";
import { describe, it, assert } from "./__tests__/utils";
import type { Recurse } from "./util";
import type { Recurse } from "./utils";

describe("Recurse", () => {
it("peels nested { __rec: T } objects", () => {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/vm.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { Equal } from "./__tests__/utils";
import { describe, it, assert } from "./__tests__/utils";
import type { Recurse } from "./util";
import type { Brainfuck } from "./vm";
import type { Recurse } from "./utils";

describe("Brainfuck", () => {
it("runs a simple calculation", () => {
Expand Down
2 changes: 1 addition & 1 deletion src/vm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { Memory, Read, Write, MoveL, MoveR } from "./memory";
import type { Incr, Decr } from "./char";
import type { Head as SHead, Tail as STail, Concat } from "./string";
import type { Head, Tail, Cons } from "./list";
import type { Recurse } from "./util";
import type { Recurse } from "./utils";

/**
* `State<P, M, I, O, R, K>` represents a state of the VM.
Expand Down

0 comments on commit 4945a4a

Please sign in to comment.