diff --git a/cli/tests/testdata/assets/lock_target.txt b/cli/tests/testdata/assets/lock_target.txt new file mode 100644 index 0000000000..5a29d1c26d --- /dev/null +++ b/cli/tests/testdata/assets/lock_target.txt @@ -0,0 +1 @@ +This file is used for file locking tests and should not be used for anything else. \ No newline at end of file diff --git a/cli/tests/unit/flock_test.ts b/cli/tests/unit/flock_test.ts index 7539e3d54f..fcaad9460a 100644 --- a/cli/tests/unit/flock_test.ts +++ b/cli/tests/unit/flock_test.ts @@ -108,7 +108,7 @@ async function checkFirstBlocksSecond(opts: { } function runFlockTestProcess(opts: { exclusive: boolean; sync: boolean }) { - const path = "cli/tests/testdata/assets/fixture.json"; + const path = "cli/tests/testdata/assets/lock_target.txt"; const scriptText = ` const { rid } = Deno.openSync("${path}");