diff --git a/ghc/tests/lib/should_run/exceptions001.stdout b/ghc/tests/lib/should_run/exceptions001.stdout
index c0af83012af98bb4c94ca55a0f84c210a88f7c1e..1c498ad2233eb8e2477e0f52e8c122b150657343 100644
--- a/ghc/tests/lib/should_run/exceptions001.stdout
+++ b/ghc/tests/lib/should_run/exceptions001.stdout
@@ -2,5 +2,5 @@ io exception caught
 error call caught
 no method error
 exceptions001.hs:40: Non-exhaustive patterns in function test1
-exceptions001.hs:47: Non-exhaustive guards in 
+exceptions001.hs:47: Non-exhaustive patterns in function test2
 43
\ No newline at end of file