Skip to content

Commit ef47833

Browse files
committed
Silence spurious warnings
1 parent 8438eda commit ef47833

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/TestingTests/ExitTestTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ private import _TestingInternals
2222
#endif
2323

2424
let exitStatus = ExitStatus.signal(SIGABRT)
25-
if hasSignalNames {
25+
if Bool(hasSignalNames) {
2626
#expect(String(describing: exitStatus) == ".signal(SIGABRT → \(SIGABRT))")
2727
} else {
2828
#expect(String(describing: exitStatus) == ".signal(\(SIGABRT))")

0 commit comments

Comments
 (0)