Index: tests/OFURITests.m ================================================================== --- tests/OFURITests.m +++ tests/OFURITests.m @@ -119,21 +119,22 @@ # if defined(OF_WINDOWS) || defined(OF_MSDOS) OFURI *tmp; TEST(@"+[fileURIWithPath:] for c:\\", (tmp = [OFURI fileURIWithPath: @"c:\\"]) && - [tmp.string isEqual: @"file:///c:/"] && + [tmp.string isEqual: @"file:/c:/"] && [tmp.fileSystemRepresentation isEqual: @"c:\\"]) # endif # ifdef OF_WINDOWS TEST(@"+[fileURIWithPath:] with UNC", - (tmp = [OFURI fileURIWithPath: @"\\\\foo\\bar"]) && + (tmp = [OFURI fileURIWithPath: @"\\\\foo\\bar" + isDirectory: false]) && [tmp.host isEqual: @"foo"] && [tmp.path isEqual: @"/bar"] && [tmp.string isEqual: @"file://foo/bar"] && [tmp.fileSystemRepresentation isEqual: @"\\\\foo\\bar"] && - (tmp = [OFURI fileURIWithPath: @"\\\\test"]) && + (tmp = [OFURI fileURIWithPath: @"\\\\test" isDirectory: true]) && [tmp.host isEqual: @"test"] && [tmp.path isEqual: @"/"] && [tmp.string isEqual: @"file://test/"] && [tmp.fileSystemRepresentation isEqual: @"\\\\test"]) # endif #endif