mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-07 20:23:03 +08:00
Fix broken test stripping
This commit is contained in:
@@ -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/, "");
|
||||||
|
Reference in New Issue
Block a user