Repository : ssh://darcs.haskell.org//srv/darcs/testsuite

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/d6c09879b3d77a7e32102a59e4543095d95e89a2

>---------------------------------------------------------------

commit d6c09879b3d77a7e32102a59e4543095d95e89a2
Author: Simon Marlow <marlo...@gmail.com>
Date:   Mon Oct 24 15:18:53 2011 +0100

    test for #5564

>---------------------------------------------------------------

 tests/ghci/scripts/T5564.script                    |    4 ++++
 tests/ghci/scripts/T5564.stderr                    |    9 +++++++++
 .../scripts/T5564.stdout}                          |    0 
 tests/ghci/scripts/all.T                           |    1 +
 4 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/tests/ghci/scripts/T5564.script b/tests/ghci/scripts/T5564.script
new file mode 100644
index 0000000..d4fd99c
--- /dev/null
+++ b/tests/ghci/scripts/T5564.script
@@ -0,0 +1,4 @@
+2
+git
+3
+fit
diff --git a/tests/ghci/scripts/T5564.stderr b/tests/ghci/scripts/T5564.stderr
new file mode 100644
index 0000000..d76c4df
--- /dev/null
+++ b/tests/ghci/scripts/T5564.stderr
@@ -0,0 +1,9 @@
+
+<interactive>:3:1:
+    Not in scope: `git'
+    Perhaps you meant `it' (line 2)
+
+<interactive>:5:1:
+    Not in scope: `fit'
+    Perhaps you meant one of these:
+      `it' (line 4), `fst' (imported from Prelude)
diff --git a/tests/th/TH_spliceViewPat/TH_spliceViewPat.stdout 
b/tests/ghci/scripts/T5564.stdout
similarity index 100%
copy from tests/th/TH_spliceViewPat/TH_spliceViewPat.stdout
copy to tests/ghci/scripts/T5564.stdout
diff --git a/tests/ghci/scripts/all.T b/tests/ghci/scripts/all.T
index 2015b8f..b1c1fa6 100644
--- a/tests/ghci/scripts/all.T
+++ b/tests/ghci/scripts/all.T
@@ -106,3 +106,4 @@ test('T5417', normal, ghci_script, ['T5417.script'])
 test('T5545', normal, ghci_script, ['T5545.script'])
 test('T5557', normal, ghci_script, ['T5557.script'])
 test('T5566', normal, ghci_script, ['T5566.script'])
+test('T5564', normal, ghci_script, ['T5564.script'])



_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to