Unify assertions of sizeAllocated on all POSIX platforms

This commit is contained in:
Kenta Kubo committed 2026-02-04 01:55:12 +09:00
1 parent cf6956a19a
commit 4278ed8d97
1 file changed
-4
-4
View File
@@ -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