Remove redefinition in Tests/KVC/nsnull.m

This commit is contained in:
hmelder 2023-12-10 18:22:50 +01:00 committed by Hugo Melder
parent 7a39bcf319
commit 4f2cb0672c

View file

@ -18,7 +18,7 @@ int main(void) {
"Setting an undefined key on NSNull should not crash.");
// Accessing an undefined key path
id result = [nullObject valueForKeyPath:@"some.path"];
result = [nullObject valueForKeyPath:@"some.path"];
PASS(result == nullObject, "NSNull returns itself for undefined key paths.");
// Attempting to set a value for an undefined key path