Skip to content

Commit 9e02d4c

Browse files
committed
assertFailure
1 parent 040adfa commit 9e02d4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/hls-tactics-plugin/test/Utils.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ mkGoldenTest eq tc occ line col input =
130130
T.writeFile expected_name edited
131131
expected <- liftIO $ T.readFile expected_name
132132
liftIO $ E.try (edited `eq` expected)
133-
_ -> return $ Left $ E.toException $ E.ErrorCall $ show actions
133+
_ -> liftIO $ E.try $ assertFailure $ show actions
134134

135135
retryAction :: Int -> Session (Either E.SomeException a) -> Session a
136136
retryAction n act = do

0 commit comments

Comments
 (0)