Skip to content

Commit

Permalink
Ensure test succeeds with changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Blaisorblade committed Aug 14, 2016
1 parent d78abf1 commit 29825c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/Data/YamlSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import Control.Monad
import Control.Exception (try, SomeException)
import Test.Hspec
import Data.Either.Compat
import System.Directory (createDirectory)
import Test.Mockery.Directory

import qualified Data.Yaml as D
Expand Down Expand Up @@ -322,6 +323,7 @@ caseEncodeDecodeNonAsciiFileData :: Assertion
caseEncodeDecodeNonAsciiFileData = do
let mySample = (object ["foo" .= True])
inTempDirectory $ do
createDirectory "accenté"
D.encodeFile "accenté/bar.yaml" mySample
out1 <- D.decodeFile "accenté/bar.yaml"
out1 @?= Just mySample
Expand Down
1 change: 1 addition & 0 deletions yaml.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ test-suite spec
, text
, aeson >= 0.7
, unordered-containers
, directory
, vector
, resourcet
, aeson-qq
Expand Down

0 comments on commit 29825c4

Please sign in to comment.