Commit 571a5b24 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Add a test for ":i thisIsNotDefined"

It used to make ghci exit
parent 79d4646f
......@@ -47,6 +47,7 @@ test('ghci030', normal, ghci_script, ['ghci030.script'])
test('ghci031', expect_broken(2138), ghci_script, ['ghci031.script'])
test('ghci032', normal, ghci_script, ['ghci032.script'])
test('ghci033', normal, ghci_script, ['ghci033.script'])
test('ghci034', normal, ghci_script, ['ghci034.script'])
test('2452', normal, ghci_script, ['2452.script'])
test('1914',
......
:i thisIsNotDefined
-- In 6.9, GHCi used to exit at this point
putStrLn "Foo"
Top level: Not in scope: `thisIsNotDefined'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment