diff --git a/tests/deriving/should_fail/drvfail011.stderr b/tests/deriving/should_fail/drvfail011.stderr
index 6ec1df7a032e43c03d9a2b18e9b3fb48e7bef92c..f4b27e9d2172f843fc517ca489cc961243791904 100644
--- a/tests/deriving/should_fail/drvfail011.stderr
+++ b/tests/deriving/should_fail/drvfail011.stderr
@@ -3,7 +3,7 @@ drvfail011.hs:8:1:
     No instance for (Eq a) arising from a use of ‛==’
     Possible fix: add (Eq a) to the context of the instance declaration
     In the expression: ((a1 == b1))
-    In an equation for ‛==’: == (T1 a1) (T1 b1) = ((a1 == b1))
+    In an equation for ‛==’: (==) (T1 a1) (T1 b1) = ((a1 == b1))
     When typechecking the code for  ‛==’
       in a standalone derived instance for ‛Eq (T a)’:
       To see the code I am typechecking, use -ddump-deriv