mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
NSKVOSupport: remove objc2 features from tests
This commit is contained in:
parent
eb4c82ec4f
commit
24af53570e
1 changed files with 4 additions and 4 deletions
|
@ -197,16 +197,16 @@
|
|||
count += 1;
|
||||
switch (count) {
|
||||
case 1:
|
||||
PASS_EQUAL(keyPath, keys[0], "change notification for dependent key 'derivedName' is emitted first");
|
||||
PASS_EQUAL(keyPath, [keys objectAtIndex: 0], "change notification for dependent key 'derivedName' is emitted first");
|
||||
break;
|
||||
case 2:
|
||||
PASS_EQUAL(keyPath, keys[1], "'name' change notification for proxy is second");
|
||||
PASS_EQUAL(keyPath, [keys objectAtIndex: 1], "'name' change notification for proxy is second");
|
||||
break;
|
||||
case 3:
|
||||
PASS_EQUAL(keyPath, keys[0], "'derivedName' change notification for object is third");
|
||||
PASS_EQUAL(keyPath, [keys objectAtIndex: 0], "'derivedName' change notification for object is third");
|
||||
break;
|
||||
case 4:
|
||||
PASS_EQUAL(keyPath, keys[1], "'name' change notification for object is fourth");
|
||||
PASS_EQUAL(keyPath, [keys objectAtIndex: 1], "'name' change notification for object is fourth");
|
||||
break;
|
||||
default:
|
||||
PASS(0, "unexpected -[Observer observeValueForKeyPath:ofObject:change:context:] callback");
|
||||
|
|
Loading…
Reference in a new issue