From b637c52af46981e891be6eb6926ca9f4879333bb Mon Sep 17 00:00:00 2001 From: Maxime Mangel Date: Thu, 25 Jan 2024 21:52:19 +0100 Subject: [PATCH] Temporary file used the `.fsx` extension so we can have syntax highlighting when reviewing them --- tests/Specs.fs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Specs.fs b/tests/Specs.fs index 732e0f9..5a57ea2 100644 --- a/tests/Specs.fs +++ b/tests/Specs.fs @@ -43,7 +43,7 @@ let macroTestSpec (t: ExecutionContext) (specPath: string) = let expected = expectedContent t.deepEqual.Invoke(res, expected) |> ignore else - let tmpFile = $"{__SOURCE_DIRECTORY__}/specs/{specPath}.tmp" + let tmpFile = $"{__SOURCE_DIRECTORY__}/specs/{specPath}.tmp.fsx" fs.writeFileSync(tmpFile, res) }