Avatar
Avatar
norio_nomura
@swift-6.1.2 + testing time @Test func helloWorld() { let greeting = "Hello, world!" #expect(greeting == "Hello") // Expectation failed: (greeting → "Hello, world!") == "Hello" }
exit status: 1 with -- Command being timed: swiftc 0.33user 0.07system 0:00.40elapsed 100%CPU (0text+0data 129712max)k 0inputs+136outputs (1major+17093minor)pagefaults 0swaps -- ◇ Test run started. ↳ Testing Library Version: 6.1 (43b6f88e2f2712e) ↳ Target Platform: aarch64-unknown-linux-gnu ◇ Test helloWorld() started. ✘ Test helloWorld() recorded an issue at <stdin>:4:3: Expectation failed: (greeting → "Hello, world!") == "Hello" ✘ Test helloWorld() failed after 0.001 seconds with 1 issue. ✘ Test run with 1 test failed after 0.001 seconds with 1 issue. Command exited with non-zero status 1 -- Command being timed: ./main 0.00user 0.00system 0:00.01elapsed 91%CPU (0text+0data 19712max)k 0inputs+0outputs (0major+811minor)pagefaults 0swaps --