Fix `checkCartonTestFail` to ensure the process terminated with non-zero code
This commit is contained in:
parent
d5b873145a
commit
5959492410
|
@ -104,7 +104,7 @@ final class TestCommandTests: XCTestCase {
|
||||||
["carton", "test", "--environment", "browser", "--headless"],
|
["carton", "test", "--environment", "browser", "--headless"],
|
||||||
packageDirectory: packageDirectory.url
|
packageDirectory: packageDirectory.url
|
||||||
)
|
)
|
||||||
try result.checkNonZeroExit()
|
XCTAssertNotEqual(result.exitStatus, .terminated(code: 0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue