mirror of
https://github.com/apple/swift-system
synced 2026-11-30 05:28:49 +00:00
Unify assertions of sizeAllocated on all POSIX platforms
This commit is contained in:
1 file changed
-4
@@ -118,11 +118,7 @@ private struct StatTests {
|
||||
#expect(targetStat.type == .regular)
|
||||
#expect(symlinkStat.type == .symbolicLink)
|
||||
#expect(symlinkStat.size < targetStat.size)
|
||||
#if os(FreeBSD)
|
||||
#expect(symlinkStat.sizeAllocated <= targetStat.sizeAllocated)
|
||||
#else
|
||||
#expect(symlinkStat.sizeAllocated < targetStat.sizeAllocated)
|
||||
#endif
|
||||
|
||||
// Set each .st_atim back to its original value for comparison
|
||||
|
||||
|
||||
Reference in new issue
Block a user