Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Tests/SystemTests/StatTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would expect a citation for this and potentially a documentation update

#else
#expect(symlinkStat.sizeAllocated < targetStat.sizeAllocated)
#endif

// Set each .st_atim back to its original value for comparison

Expand Down