From 9badd09c910d4053470e52b1f44e9bb8d958da34 Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Sat, 10 Dec 2011 16:13:22 +0100 Subject: sequenceA was reversing the list --- tests/Hakyll/Core/Util/Arrow/Tests.hs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 tests/Hakyll/Core/Util/Arrow/Tests.hs (limited to 'tests/Hakyll') 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) + ] -- cgit v1.2.3