diff options
author | Roland Senn <rsx@bluewin.ch> | 2021-02-04 10:43:04 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-02-13 21:29:30 -0500 |
commit | 793dcb3de47587f849ad286caf362cac0c67edb2 (patch) | |
tree | 71e626343c1da4d186519c58766b5bf030c7917d /testsuite/tests | |
parent | f1362008daabb518b6fcd8079fb89683fb642597 (diff) | |
download | haskell-793dcb3de47587f849ad286caf362cac0c67edb2.tar.gz |
GHCi :complete command for operators: Fix spaceless cases of #10576.
When separating operators from identifiers in a `:complete` command
take advantage from the different character sets of the two items:
* operators contain only specialSymbol characters.
* Identifiers don't contain specialSymbol characters, with the exception of dots.
Diffstat (limited to 'testsuite/tests')
-rw-r--r-- | testsuite/tests/ghci/scripts/T10576a.stdout | 2 | ||||
-rwxr-xr-x | testsuite/tests/ghci/scripts/all.T | 6 |
2 files changed, 3 insertions, 5 deletions
diff --git a/testsuite/tests/ghci/scripts/T10576a.stdout b/testsuite/tests/ghci/scripts/T10576a.stdout index 8949cff3e4..1069c6ac77 100644 --- a/testsuite/tests/ghci/scripts/T10576a.stdout +++ b/testsuite/tests/ghci/scripts/T10576a.stdout @@ -1,2 +1,2 @@ 1 1 "" -"\2600\2600"
\ No newline at end of file +"\9728\9728"
\ No newline at end of file diff --git a/testsuite/tests/ghci/scripts/all.T b/testsuite/tests/ghci/scripts/all.T index 13b2b73b6c..64f87bc7e2 100755 --- a/testsuite/tests/ghci/scripts/all.T +++ b/testsuite/tests/ghci/scripts/all.T @@ -240,10 +240,8 @@ test('T11098', normal, ghci_script, ['T11098.script']) test('T8316', expect_broken(8316), ghci_script, ['T8316.script']) test('T11252', normal, ghci_script, ['T11252.script']) -test('T10576a', [extra_files(['T10576.hs']), expect_broken(10576)], - ghci_script, ['T10576a.script']) -test('T10576b', [extra_files(['T10576.hs']), expect_broken(10576)], - ghci_script, ['T10576b.script']) +test('T10576a', extra_files(['T10576.hs']), ghci_script, ['T10576a.script']) +test('T10576b', extra_files(['T10576.hs']), ghci_script, ['T10576b.script']) test('T11051a', normal, ghci_script, ['T11051a.script']) test('T11051b', normal, ghci_script, ['T11051b.script']) test('T11266', ignore_stdout, ghci_script, ['T11266.script']) |