Skip to content

Commit 670b1f8

Browse files
committed
Hoisted by my own petard
1 parent a94c0bc commit 670b1f8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Tests/TestingTests/Support/FileHandleTests.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,10 +209,14 @@ struct FileHandleTests {
209209
await #expect(processExitsWith: .success) {
210210
#expect(Environment.setVariable(nil, named: "SYSTEMDRIVE"))
211211
#expect(rootDirectoryPath == #"C:\"#)
212+
}
212213

214+
await #expect(processExitsWith: .success) {
213215
#expect(Environment.setVariable("Q:", named: "SYSTEMDRIVE"))
214216
#expect(rootDirectoryPath == #"Q:\"#)
217+
}
215218

219+
await #expect(processExitsWith: .success) {
216220
#expect(Environment.setVariable(#"Q:\abc123"#, named: "SYSTEMDRIVE"))
217221
#expect(rootDirectoryPath == #"Q:\abc123\"#)
218222
}

0 commit comments

Comments
 (0)