Skip to content

Commit 14d7218

Browse files
committed
test: loosen the test line for Windows
The path separator is different on Windows. Match just the last path component to allow the test to be portable.
1 parent 06ec943 commit 14d7218

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/stdlib/OptionalTraps.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ OptionalTraps.test("UnwrapNone/location")
3636
{ _isFastAssertConfiguration() },
3737
reason: "this trap is not guaranteed to happen in -Ounchecked"))
3838
.crashOutputMatches(_isDebugAssertConfiguration()
39-
? "test/stdlib/OptionalTraps.swift, line 45"
39+
? "OptionalTraps.swift, line 45"
4040
: "")
4141
.code {
4242
expectCrashLater()

0 commit comments

Comments
 (0)