public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-10094] testsuite: Adjust testsuite expectations for diagnostic spelling fixes
@ 2024-04-23 15:40 Jakub Jelinek
  0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2024-04-23 15:40 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:0c8e99e5c32be9f2604f3c330814993f29818037

commit r14-10094-g0c8e99e5c32be9f2604f3c330814993f29818037
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Tue Apr 23 17:39:48 2024 +0200

    testsuite: Adjust testsuite expectations for diagnostic spelling fixes
    
    The nullability-00.m* tests unfortunately check the exact spelling of
    the diagnostics I've changed earlier today.
    
    2024-04-23  Jakub Jelinek  <jakub@redhat.com>
    
            * objc.dg/attributes/nullability-00.m: Adjust expected diagnostic
            spelling: recognised -> recognized.
            * obj-c++.dg/attributes/nullability-00.mm: Likewise.

Diff:
---
 gcc/testsuite/obj-c++.dg/attributes/nullability-00.mm | 2 +-
 gcc/testsuite/objc.dg/attributes/nullability-00.m     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/obj-c++.dg/attributes/nullability-00.mm b/gcc/testsuite/obj-c++.dg/attributes/nullability-00.mm
index 957fca4e3ba..cb25cbd4c62 100644
--- a/gcc/testsuite/obj-c++.dg/attributes/nullability-00.mm
+++ b/gcc/testsuite/obj-c++.dg/attributes/nullability-00.mm
@@ -8,7 +8,7 @@ __attribute__((objc_nullability("unspecified"))) id b;
 __attribute__((objc_nullability("nullable"))) id c;
 __attribute__((objc_nullability("nonnull"))) id d;
 __attribute__((objc_nullability("resettable"))) id e;
-__attribute__((objc_nullability("nonsense"))) id e_3; /* { dg-error {'objc_nullability' attribute argument '"nonsense"' is not recognised} } */
+__attribute__((objc_nullability("nonsense"))) id e_3; /* { dg-error {'objc_nullability' attribute argument '"nonsense"' is not recognized} } */
 __attribute__((objc_nullability(noGoingToWork))) id e_4; /* { dg-error {'noGoingToWork' was not declared in this scope} } */
 
 @interface MyRoot
diff --git a/gcc/testsuite/objc.dg/attributes/nullability-00.m b/gcc/testsuite/objc.dg/attributes/nullability-00.m
index 81c0145f17b..2d7e22cf6f7 100644
--- a/gcc/testsuite/objc.dg/attributes/nullability-00.m
+++ b/gcc/testsuite/objc.dg/attributes/nullability-00.m
@@ -8,7 +8,7 @@ __attribute__((objc_nullability("unspecified"))) id b;
 __attribute__((objc_nullability("nullable"))) id c;
 __attribute__((objc_nullability("nonnull"))) id d;
 __attribute__((objc_nullability("resettable"))) id e;
-__attribute__((objc_nullability("nonsense"))) id e_3; /* { dg-error {'objc_nullability' attribute argument '"nonsense"' is not recognised} } */
+__attribute__((objc_nullability("nonsense"))) id e_3; /* { dg-error {'objc_nullability' attribute argument '"nonsense"' is not recognized} } */
 __attribute__((objc_nullability(noGoingToWork))) id e_4; /* { dg-error {'noGoingToWork' undeclared here} } */
 
 @interface MyRoot

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-04-23 15:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-23 15:40 [gcc r14-10094] testsuite: Adjust testsuite expectations for diagnostic spelling fixes Jakub Jelinek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).