From 4278ed8d977912da42d37734f4803071cbf87ccb Mon Sep 17 00:00:00 2001 From: Kenta Kubo <601636+kkebo@users.noreply.github.com> Date: Wed, 4 Feb 2026 01:55:12 +0900 Subject: [PATCH] Unify assertions of `sizeAllocated` on all POSIX platforms --- Tests/SystemTests/StatTests.swift | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Tests/SystemTests/StatTests.swift b/Tests/SystemTests/StatTests.swift index 0f392cb..a7d0637 100644 --- a/Tests/SystemTests/StatTests.swift +++ b/Tests/SystemTests/StatTests.swift @@ -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