Skip to content

Commit

Permalink
Temporary file used the .fsx extension so we can have syntax highli…
Browse files Browse the repository at this point in the history
…ghting when reviewing them
  • Loading branch information
MangelMaxime committed Jan 25, 2024
1 parent c916ea2 commit b637c52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Specs.fs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ let macroTestSpec (t: ExecutionContext<obj>) (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)
}

Expand Down

0 comments on commit b637c52

Please sign in to comment.