diff --git a/Tests/SystemTests/StatTests.swift b/Tests/SystemTests/StatTests.swift index 524226d2..4cfd972a 100644 --- a/Tests/SystemTests/StatTests.swift +++ b/Tests/SystemTests/StatTests.swift @@ -118,7 +118,12 @@ private struct StatTests { #expect(targetStat.type == .regular) #expect(symlinkStat.type == .symbolicLink) #expect(symlinkStat.size < targetStat.size) + + #if os(Android) + #expect(symlinkStat.sizeAllocated <= targetStat.sizeAllocated) + #else #expect(symlinkStat.sizeAllocated < targetStat.sizeAllocated) + #endif // Set each .st_atim back to its original value for comparison