Avatar
norio_nomura 3/4/2025 11:28 AM
testingと書くとWASIでテストも動きます。めっちゃ遅いけど。 @swift-main wasi testing @Test func helloWorld() { let greeting = "Hello, world!" #expect(greeting == "Hello, world!") // Expectation failed: (greeting → "Hello, world!") == "Hello" }