Skip to content

Commit

Permalink
(#102) FileCacheTests: more workarounds for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ForNeVeR committed Aug 28, 2022
1 parent a58f54e commit 6952a9f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Emulsion.Tests/ContentProxy/FileCacheTests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ type FileCacheTests(outputHelper: ITestOutputHelper) =
let assertCacheState(entries: (string * byte[]) seq) =
let files =
Directory.EnumerateFileSystemEntries(cacheDirectory.Value)
|> Seq.filter(fun f -> not(f.EndsWith ".deleted")) // only required on older versions of Windows due to special "move-aside-and-delete" strategy
|> Seq.map(fun file ->
let name = Path.GetFileName file
let content = File.ReadAllBytes file
Expand Down

0 comments on commit 6952a9f

Please sign in to comment.