Skip to content

Commit 0cde158

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

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
@@ -108,7 +108,7 @@ - (void)removeExpiredData {
108108
}
109109

110110
// Remove files that are older than the expiration date;
111-
NSDate *accessDate = resourceValues[NSURLAttributeContentAccessDateKey];
111+
NSDate *accessDate = resourceValues[NSURLContentAccessDateKey];
112112
if (expirationDate && [[accessDate laterDate:expirationDate] isEqualToDate:expirationDate]) {
113113
[self.fileManager removeItemAtURL:fileURL error:nil];
114114
}

0 commit comments

Comments
 (0)