summaryrefslogtreecommitdiff
path: root/cli/tests
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests')
-rw-r--r--cli/tests/testdata/assets/lock_target.txt1
-rw-r--r--cli/tests/unit/flock_test.ts2
2 files changed, 2 insertions, 1 deletions
diff --git a/cli/tests/testdata/assets/lock_target.txt b/cli/tests/testdata/assets/lock_target.txt
new file mode 100644
index 000000000..5a29d1c26
--- /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 7539e3d54..fcaad9460 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}");