Skip to content

Commit

Permalink
Fix mistake in demo script. Tests now pass
Browse files Browse the repository at this point in the history
  • Loading branch information
edsko committed Dec 6, 2018
1 parent 8c948e8 commit 9b0ccdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ouroboros/Storage/FS/Sim.hs
Expand Up @@ -560,7 +560,7 @@ mockDemoScript = do
_ <- listDirectory ["var"]
createDirectory ["var", "tmp", "my-temp-dir"]
createDirectoryIfMissing True ["home", "adinapoli", "test", "foo", "bar"]
f1 <- fmap L.sort <$> listDirectory ["var", "tmp"]
f1 <- L.sort <$> listDirectory ["var", "tmp"]
hClose h1
hClose h2
checkThat "listDirectory [var, tmp]" ((==) (L.sort ["my-temp-dir", "foo.txt"])) f1
Expand Down

0 comments on commit 9b0ccdd

Please sign in to comment.