We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cd1f79 commit b007045Copy full SHA for b007045
TestFoundation/TestFileManager.swift
@@ -367,15 +367,18 @@ class TestFileManager : XCTestCase {
367
let systemSize = attrs[.systemSize] as? NSNumber
368
XCTAssertNotNil(systemSize)
369
XCTAssertGreaterThan(systemSize!.uint64Value, systemFreeSize!.uint64Value)
370
-
+
371
+#if !os(Windows)
372
let systemFreeNodes = attrs[.systemFreeNodes] as? NSNumber
373
XCTAssertNotNil(systemFreeNodes)
374
XCTAssertNotEqual(systemFreeNodes!.uint64Value, 0)
375
+#endif
376
377
378
let systemNodes = attrs[.systemNodes] as? NSNumber
379
XCTAssertNotNil(systemNodes)
380
XCTAssertGreaterThan(systemNodes!.uint64Value, systemFreeNodes!.uint64Value)
381
382
} catch {
383
XCTFail("\(error)")
384
}
0 commit comments