mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-06 13:01:39 -07:00
Fix broken test stripping
This commit is contained in:
parent
683a30abde
commit
a1d8947297
2 changed files with 2 additions and 3 deletions
|
@ -39,8 +39,7 @@ import Data.Maybe
|
||||||
import Data.Semigroup
|
import Data.Semigroup
|
||||||
|
|
||||||
import Test.QuickCheck.All (forAllProperties)
|
import Test.QuickCheck.All (forAllProperties)
|
||||||
import Test.QuickCheck.Test (maxSuccess, quickCheckWithResult,
|
import Test.QuickCheck.Test (maxSuccess, quickCheckWithResult, stdArgs)
|
||||||
stdArgs)
|
|
||||||
|
|
||||||
type Analysis = AnalyzerM ()
|
type Analysis = AnalyzerM ()
|
||||||
type AnalyzerM a = RWS Parameters [TokenComment] Cache a
|
type AnalyzerM a = RWS Parameters [TokenComment] Cache a
|
||||||
|
|
|
@ -29,7 +29,7 @@ detestify() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/LANGUAGE TemplateHaskell/ { next; }
|
/LANGUAGE TemplateHaskell/ { next; }
|
||||||
/^import Test\./ { next; }
|
/^import.*Test\./ { next; }
|
||||||
|
|
||||||
/^module/ {
|
/^module/ {
|
||||||
sub(/,[^,)]*runTests/, "");
|
sub(/,[^,)]*runTests/, "");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue