Skip to content

Commit 0a2865a

Browse files
committed
fix: tests
1 parent 6b04c0b commit 0a2865a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/__tests__/niwango.test.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
import { run } from "@/testUtils";
22

33
test("rand", () => {
4-
const rand1 = run(`return rand("hoge")`);
5-
const rand2 = run(`return rand("hoge")`);
4+
const rand1 = run(`rand("hoge")`);
5+
const rand2 = run(`rand("hoge")`);
6+
const rand3 = run(`rand("huga")`);
67
expect(rand1).toBe(rand2);
8+
expect(rand3).not.toBe(rand1);
79
});
810
export {};

0 commit comments

Comments
 (0)