Commit c0cb6a85 authored by Johannes Schriewer's avatar Johannes Schriewer

Relax test a bit

parent 1424f94d
Pipeline #1727 passed with stage
......@@ -171,7 +171,7 @@ class PathTests: XCTestCase {
func testHomeDir() {
if let p = Path.homeDirectory() {
#if os(Linux)
XCTAssert(p.components.count >= 2, "Home dir has \(p.components.count) components")
XCTAssert(p.components.count > 0, "Home dir has \(p.components.count) components")
// disabled because CI has something other than /home/ci
// if p.components.count >= 2 {
// XCTAssert(p.components[0] == "home")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment