@@ -60,12 +60,13 @@ [[dict valueForKey: keys[0]] isEqual: values[0]] && [[dict valueForKey: @"@count"] isEqual: [OFNumber numberWithSize: 2]]) EXPECT_EXCEPTION(@"Catching -[setValue:forKey:] on immutable " - @"dictionary", OFUndefinedKeyException, [dict setValue: @"x" - forKey: @"x"]) + @"dictionary", OFUndefinedKeyException, + [[OFDictionary dictionary] setValue: @"x" + forKey: @"x"]) TEST(@"-[containsObject:]", [dict containsObject: values[0]] && ![dict containsObject: @"nonexistant"])