Skip to content

Commit

Permalink
Slightly cleaned up tests
Browse files Browse the repository at this point in the history
  • Loading branch information
snoyberg committed May 27, 2011
1 parent 0bc86a5 commit 307738a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions mkbin.hs
@@ -0,0 +1,3 @@
import qualified Data.ByteString as S

main = S.writeFile "sample/binary" $ S.pack [50, 51, 52, 0, 49, 50, 51]
2 changes: 1 addition & 1 deletion runtests.hs
Expand Up @@ -9,7 +9,7 @@ import Data.List (sort)


myeq x y = do myeq x y = do
y' <- y y' <- y
x @=? y' x @?= y'


main = hspec $ descriptions main = hspec $ descriptions
[ describe "embedFile" [ describe "embedFile"
Expand Down
Binary file modified sample/binary
Binary file not shown.

0 comments on commit 307738a

Please sign in to comment.