diff options
author | Ben Gamari <bgamari.foss@gmail.com> | 2018-04-20 13:54:04 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2018-04-20 18:04:19 -0400 |
commit | da7438526e4bfb1821aa77a22ff66a4a80baf8c6 (patch) | |
tree | 4378674e0f14324585e864cecb7ba2f71d2f8660 /libraries/base/tests | |
parent | 698db813dbc49f6c1e011299e8044b3bafb26847 (diff) | |
download | haskell-da7438526e4bfb1821aa77a22ff66a4a80baf8c6.tar.gz |
base: Add a test for T10412
Expects the current behavior, will be updated by D4593 to reflect
desired behavior.
Reviewers: hvr
Subscribers: thomie, carter
GHC Trac Issues: #10412
Differential Revision: https://phabricator.haskell.org/D4610
Diffstat (limited to 'libraries/base/tests')
-rw-r--r-- | libraries/base/tests/T10412.hs | 7 | ||||
-rw-r--r-- | libraries/base/tests/T10412.stdout | 3 | ||||
-rw-r--r-- | libraries/base/tests/all.T | 1 |
3 files changed, 11 insertions, 0 deletions
diff --git a/libraries/base/tests/T10412.hs b/libraries/base/tests/T10412.hs new file mode 100644 index 0000000000..9657ef7d16 --- /dev/null +++ b/libraries/base/tests/T10412.hs @@ -0,0 +1,7 @@ +import Data.Char + +main :: IO () +main = do + print $ isMark '\768' + print $ isAlphaNum '\768' + print $ (isAlpha '\768', isNumber '\768') diff --git a/libraries/base/tests/T10412.stdout b/libraries/base/tests/T10412.stdout new file mode 100644 index 0000000000..b243ae6f1e --- /dev/null +++ b/libraries/base/tests/T10412.stdout @@ -0,0 +1,3 @@ +True +True +(False,False) diff --git a/libraries/base/tests/all.T b/libraries/base/tests/all.T index 06c7350026..0db147ea1e 100644 --- a/libraries/base/tests/all.T +++ b/libraries/base/tests/all.T @@ -222,3 +222,4 @@ test('T3474', only_ways(['normal'])], compile_and_run, ['-O']) test('T14425', normal, compile_and_run, ['']) +test('T10412', normal, compile_and_run, ['']) |