confirmation
reports confirmed zero times, despite being confirmed, when triggered on the Main Actor
#788
Labels
bug
🪲 Something isn't working
concurrency
🔀 Swift concurrency/sendability issues
issue-handling
Related to Issue handling within the testing library
Uh oh!
There was an error while loading. Please reload this page.
Description
confirmation
reports confirmed zero times, despite being confirmed, when triggered on the Main ActorExpected behavior
The test should pass
Actual behavior
Steps to reproduce
Minimal reproducible example:
The test can also be broken by using
DispatchQueue.main.async
for the callback, e.g.swift-testing version/commit hash
I don't know how to provide this, but the above can be produced in Xcode 16.1 (16B40)
Swift & OS version (output of
swift --version ; uname -a
)swift-driver version: 1.115 Apple Swift version 6.0 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)
Target: arm64-apple-macosx14.0
Darwin clajun-mbp 23.6.0 Darwin Kernel Version 23.6.0: Mon Jul 29 21:14:30 PDT 2024; root:xnu-10063.141.2~1/RELEASE_ARM64_T6000 arm64
The text was updated successfully, but these errors were encountered: