aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/obj-c++.dg/gnu-api-2-method.mm
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/obj-c++.dg/gnu-api-2-method.mm')
-rw-r--r--gcc/testsuite/obj-c++.dg/gnu-api-2-method.mm8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/testsuite/obj-c++.dg/gnu-api-2-method.mm b/gcc/testsuite/obj-c++.dg/gnu-api-2-method.mm
index 4029ce7..97bf84b 100644
--- a/gcc/testsuite/obj-c++.dg/gnu-api-2-method.mm
+++ b/gcc/testsuite/obj-c++.dg/gnu-api-2-method.mm
@@ -90,14 +90,14 @@ int main ()
/* Swap the methods. */
method_exchangeImplementations (method_a, method_b);
- /* Check that behaviour has changed. */
+ /* Check that behavior has changed. */
if ([object variable] != nil || [object constant] != object)
abort ();
/* Swap the methods again. */
method_exchangeImplementations (method_a, method_b);
- /* Check that behaviour is back to normal. */
+ /* Check that behavior is back to normal. */
if ([object variable] != object || [object constant] != nil)
abort ();
}
@@ -213,7 +213,7 @@ int main ()
if (method_setImplementation (method_a, original_imp_b) != original_imp_a)
abort ();
- /* Check that behaviour has changed. */
+ /* Check that behavior has changed. */
if ([object variable] != nil || [object constant] != nil)
abort ();
@@ -221,7 +221,7 @@ int main ()
if (method_setImplementation (method_a, original_imp_a) != original_imp_b)
abort ();
- /* Check that behaviour is back to normal. */
+ /* Check that behavior is back to normal. */
if ([object variable] != object || [object constant] != nil)
abort ();
}