diff options
Diffstat (limited to 'testsuite')
4 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/tests/monadfail/MonadFailWarnings.hs b/testsuite/tests/monadfail/MonadFailWarnings.hs index 3b786cc8c7..a1d3729222 100644 --- a/testsuite/tests/monadfail/MonadFailWarnings.hs +++ b/testsuite/tests/monadfail/MonadFailWarnings.hs @@ -2,7 +2,7 @@ -- Ensure that MonadFail warnings are issued correctly if the warning flag -- is enabled -{-# OPTIONS_GHC -fwarn-missing-monadfail-instance #-} +{-# OPTIONS_GHC -Wmissing-monadfail-instances #-} module MonadFailWarnings where diff --git a/testsuite/tests/monadfail/MonadFailWarningsWithRebindableSyntax.hs b/testsuite/tests/monadfail/MonadFailWarningsWithRebindableSyntax.hs index c9f25027f9..6126e24e26 100644 --- a/testsuite/tests/monadfail/MonadFailWarningsWithRebindableSyntax.hs +++ b/testsuite/tests/monadfail/MonadFailWarningsWithRebindableSyntax.hs @@ -2,7 +2,7 @@ -- RebindableSyntax does not play that well with MonadFail, so here we ensure -- that when both settings are enabled we get the proper warning. -{-# OPTIONS_GHC -fwarn-missing-monadfail-instance #-} +{-# OPTIONS_GHC -Wmissing-monadfail-instances #-} {-# LANGUAGE RebindableSyntax #-} module MonadFailWarningsWithRebindableSyntax where diff --git a/testsuite/tests/monadfail/MonadFailWarningsWithRebindableSyntax.stderr b/testsuite/tests/monadfail/MonadFailWarningsWithRebindableSyntax.stderr index 819c878dc9..9610f8971f 100644 --- a/testsuite/tests/monadfail/MonadFailWarningsWithRebindableSyntax.stderr +++ b/testsuite/tests/monadfail/MonadFailWarningsWithRebindableSyntax.stderr @@ -2,4 +2,4 @@ MonadFailWarningsWithRebindableSyntax.hs:13:5: warning: The failable pattern ‘Just x’ is used together with -XRebindableSyntax. If this is intentional, - compile with -fno-warn-missing-monadfail-instance. + compile with -Wno-missing-monadfail-instances. diff --git a/testsuite/tests/rebindable/rebindable1.hs b/testsuite/tests/rebindable/rebindable1.hs index 7bf3e237a6..4ff8ed2d4d 100644 --- a/testsuite/tests/rebindable/rebindable1.hs +++ b/testsuite/tests/rebindable/rebindable1.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-warn-missing-monadfail-instance #-} +{-# OPTIONS_GHC -Wno-missing-monadfail-instances #-} {-# LANGUAGE RebindableSyntax, NPlusKPatterns #-} module RebindableCase1 where |