Skip to content

Commit d32355a

Browse files
committed
Ignore HLint hints in the generated tests
1 parent f981a21 commit d32355a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Generate.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ main = do
2020
,"import TestUtil"
2121
,"import qualified System.FilePath.Windows as W"
2222
,"import qualified System.FilePath.Posix as P"
23+
,"{-# ANN module \"HLint: ignore\" #-}"
2324
,"tests :: [(String, Property)]"
2425
,"tests ="] ++
2526
[" " ++ c ++ "(" ++ show t1 ++ ", " ++ t2 ++ ")" | (c,(t1,t2)) <- zip ("[":repeat ",") tests] ++

tests/TestGen.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ module TestGen(tests) where
33
import TestUtil
44
import qualified System.FilePath.Windows as W
55
import qualified System.FilePath.Posix as P
6+
{-# ANN module "HLint: ignore" #-}
67
tests :: [(String, Property)]
78
tests =
89
[("W.pathSeparator == '\\\\'", property $ W.pathSeparator == '\\')

0 commit comments

Comments
 (0)