diff options
author | Jasper Van der Jeugt <m@jaspervdj.be> | 2011-12-10 16:13:22 +0100 |
---|---|---|
committer | Jasper Van der Jeugt <m@jaspervdj.be> | 2011-12-10 16:13:22 +0100 |
commit | 9badd09c910d4053470e52b1f44e9bb8d958da34 (patch) | |
tree | a1353145a9c73cba0f71a4f37b8f35753947b4a5 /tests/Hakyll/Core | |
parent | 8a40170ff78fbecac188bc88ad146a7657107840 (diff) | |
download | hakyll-9badd09c910d4053470e52b1f44e9bb8d958da34.tar.gz |
sequenceA was reversing the list
Diffstat (limited to 'tests/Hakyll/Core')
-rw-r--r-- | tests/Hakyll/Core/Util/Arrow/Tests.hs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/Hakyll/Core/Util/Arrow/Tests.hs b/tests/Hakyll/Core/Util/Arrow/Tests.hs new file mode 100644 index 0000000..c0c7eaa --- /dev/null +++ b/tests/Hakyll/Core/Util/Arrow/Tests.hs @@ -0,0 +1,14 @@ +module Hakyll.Core.Util.Arrow.Tests + ( tests + ) where + +import Test.Framework (Test) +import Test.HUnit ((@=?)) + +import Hakyll.Core.Util.Arrow +import TestSuite.Util + +tests :: [Test] +tests = fromAssertions "sequenceA" + [ [8, 20, 1] @=? sequenceA [(+ 4), (* 5), signum] (4 :: Int) + ] |