[commit: ghc] wip/exceptions-note, wip/hadrian-import-packages, wip/splice-parsing, wip/trac-16270: testsuite: Add test for #14828 (5b970d8)
git at git.haskell.org
git at git.haskell.org
Sat Feb 2 08:59:54 UTC 2019
Repository : ssh://git@git.haskell.org/ghc
On branches: wip/exceptions-note,wip/hadrian-import-packages,wip/splice-parsing,wip/trac-16270
Link : http://ghc.haskell.org/trac/ghc/changeset/5b970d8e06c1433066a8c587116f0b22c0f30e22/ghc
>---------------------------------------------------------------
commit 5b970d8e06c1433066a8c587116f0b22c0f30e22
Author: Ben Gamari <ben at smart-cactus.org>
Date: Tue Jan 22 16:58:04 2019 -0500
testsuite: Add test for #14828
>---------------------------------------------------------------
5b970d8e06c1433066a8c587116f0b22c0f30e22
testsuite/tests/ghci/scripts/T14828.script | 18 ++++++++++++++++++
testsuite/tests/ghci/scripts/all.T | 1 +
2 files changed, 19 insertions(+)
diff --git a/testsuite/tests/ghci/scripts/T14828.script b/testsuite/tests/ghci/scripts/T14828.script
new file mode 100644
index 0000000..bb0650f
--- /dev/null
+++ b/testsuite/tests/ghci/scripts/T14828.script
@@ -0,0 +1,18 @@
+:t foldl
+:print foldl
+
+:t fmap
+:print fmap
+
+:t return
+:print return
+
+:t pure
+:print pure
+
+:m + Data.Monoid
+:p mempty
+:p mappend
+
+:m + Data.List
+:p foldl'
\ No newline at end of file
diff --git a/testsuite/tests/ghci/scripts/all.T b/testsuite/tests/ghci/scripts/all.T
index 2cb93b8..575d9eb 100755
--- a/testsuite/tests/ghci/scripts/all.T
+++ b/testsuite/tests/ghci/scripts/all.T
@@ -291,3 +291,4 @@ test('T15941', normal, ghci_script, ['T15941.script'])
test('T16030', normal, ghci_script, ['T16030.script'])
test('T11606', normal, ghci_script, ['T11606.script'])
test('T16089', normal, ghci_script, ['T16089.script'])
+test('T14828', expect_broken(14828), ghci_script, ['T14828.script'])
More information about the ghc-commits
mailing list