File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ referenceImplementation :: forall s t.
88
88
(t -> s ) ->
89
89
-- | The original value, rendered string and score.
90
90
Maybe (Fuzzy t s )
91
- referenceImplementation pat t pre post extract =
91
+ referenceImplementation pat' t pre post extract =
92
92
if null pat then Just (Fuzzy t result totalScore) else Nothing
93
93
where
94
94
null :: (T. TextualMonoid s ) => s -> Bool
@@ -119,7 +119,7 @@ referenceImplementation pat t pre post extract =
119
119
( 0 ,
120
120
1 , -- matching at the start gives a bonus (cur = 1)
121
121
mempty ,
122
- pat,
122
+ pat' ,
123
123
True
124
124
)
125
125
s
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ tests = do
99
99
let msg = printf " Timestamps do not have millisecond resolution: %dus" resolution_us
100
100
assertBool msg (resolution_us <= 1000 )
101
101
, Progress. tests
102
- , ignoreForGhcVersions [ GHC912 ] " Fuzzy search: ignore since referenceImplementation get stuck for ghc912 " $ FuzzySearch. tests
102
+ , FuzzySearch. tests
103
103
]
104
104
105
105
findResolution_us :: Int -> IO Int
You can’t perform that action at this time.
0 commit comments