Avatar
Avatar
norio_nomura
swiftpmがXCTest向けに生成するtest discoveryコードで邪魔してるぽい。 Embeddedでは無理としても、WASIでは動いて欲しいね。 @swift-main testing wasi @swift-main testing wasip1 @Test func helloWorld() { let greeting = "Hello, world!" #expect(greeting == "Hello") // Expectation failed: (greeting → "Hello, world!") == "Hello" }
swiftNightly BOT 6/19/2025 7:56 AM
swift testing wasi - ◇ Test run started. ↳ Testing Library Version: 6.3-dev (b97b57687a8fe60) ↳ Target Platform: wasm32-unknown-wasi ◇ Test helloWorld() started. ✘ Test helloWorld() recorded an issue at <stdin>:4:3: Expectation failed: (greeting → "Hello, world!") == "Hello" ✘ Test helloWorld() failed after 0.033970847 seconds with 1 issue. ✘ Test run with 1 test in 0 suites failed after 0.054957862 seconds with 1 issue.