Skip to content

Commit dcd0c46

Browse files
timonusdreampiggy
andauthored
Update SDWebImageTestCache.m
Co-authored-by: DreamPiggy <[email protected]>
1 parent e524ca0 commit dcd0c46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Tests/SDWebImageTestCache.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ - (void)removeDataForKey:(nonnull NSString *)key {
9191
- (void)removeExpiredData {
9292
NSDate *expirationDate = [NSDate dateWithTimeIntervalSinceNow:-self.config.maxDiskAge];
9393
NSURL *diskCacheURL = [NSURL fileURLWithPath:self.cachePath isDirectory:YES];
94-
NSArray<NSString *> *resourceKeys = @[NSURLIsDirectoryKey, NSURLAttributeContentAccessDateKey];
94+
NSArray<NSString *> *resourceKeys = @[NSURLIsDirectoryKey, NSURLContentAccessDateKey];
9595
NSDirectoryEnumerator<NSURL *> *fileEnumerator = [self.fileManager enumeratorAtURL:diskCacheURL
9696
includingPropertiesForKeys:resourceKeys
9797
options:NSDirectoryEnumerationSkipsHiddenFiles

0 commit comments

Comments
 (0)