Skip to content

Commit 4fc4f3f

Browse files
committed
Suppress warning building WASI
1 parent 944d9e6 commit 4fc4f3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Testing/Test+Cancellation.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ private func _cancel<T>(_ cancellableValue: T?, for testAndTestCase: (Test?, Tes
152152
#if !SWT_NO_EXIT_TESTS
153153
inExitTest = (ExitTest.current != nil)
154154
#endif
155-
if inExitTest {
155+
if Bool(inExitTest) {
156156
// This code is running in an exit test. We don't have a "current test" or
157157
// "current test case" in the child process, so we'll let the parent
158158
// process sort that out.

0 commit comments

Comments
 (0)