// 故意编译失败:#expect 需要 Bool,不能传整数。 // 复现:swiftc -typecheck Diagnostics/ExpectNeedsBool.swift import Testing @Test func expectationNeedsBool() { #expect(1 + 1) }