Index: new_tests/OFDictionaryTests.m ================================================================== --- new_tests/OFDictionaryTests.m +++ new_tests/OFDictionaryTests.m @@ -75,24 +75,20 @@ [OFDictionary dictionaryWithObjects: keys forKeys: objects count: 2]); } -/* FIXME: Hash is currently not stable. Enable test as soon as this is fixed. */ -#if 0 - (void)testHash { OTAssertEqual(_dictionary.hash, [[OFDictionary dictionaryWithObjects: objects forKeys: keys count: 2] hash]); OTAssertNotEqual(_dictionary.hash, - [[OFDictionary dictionaryWithObjects: keys - forKeys: objects - count: 2] hash]); + [[OFDictionary dictionaryWithObject: objects[0] + forKey: keys[0]] hash]); } -#endif - (void)testCopy { OTAssertEqualObjects([[_dictionary copy] autorelease], _dictionary); }