Skip to content

Commit 851439e

Browse files
committed
Add test for #404
1 parent 4afa2a5 commit 851439e

File tree

1 file changed

+12
-0
lines changed
  • tests/Language/Haskell/Stylish/Step/UnicodeSyntax

1 file changed

+12
-0
lines changed

tests/Language/Haskell/Stylish/Step/UnicodeSyntax/Tests.hs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ tests :: Test
2121
tests = testGroup "Language.Haskell.Stylish.Step.UnicodeSyntax.Tests"
2222
[ testCase "case 01" case01
2323
, testCase "case 02" case02
24+
, testCase "case 03" case03
2425
]
2526

2627

@@ -46,3 +47,14 @@ case02 = assertSnippet (step True "LaNgUaGe")
4647
, "sort ∷ Ord a ⇒ [a] → [a]"
4748
, "sort _ = []"
4849
]
50+
51+
52+
--------------------------------------------------------------------------------
53+
case03 :: Assertion
54+
case03 = assertSnippet (step False "LANGUAGE")
55+
[ "x :: Int -> Int -> Int"
56+
, "x = undefined"
57+
]
58+
[ "x ∷ Int → Int → Int"
59+
, "x = undefined"
60+
]

0 commit comments

Comments
 (0)