We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f741033 commit 797bd1bCopy full SHA for 797bd1b
test/1_stdlib/PrintBoolean.swift
@@ -11,17 +11,17 @@ PrintTests.test("CustomStringConvertible") {
11
expectTrue(any is CustomStringConvertible)
12
}
13
14
- hasDescription(Bool(true))
15
- hasDescription(CBool(true))
+ hasDescription(true as Bool)
+ hasDescription(true as CBool)
16
17
18
PrintTests.test("Printable") {
19
- expectPrinted("true", CBool(true))
20
- expectPrinted("false", CBool(false))
21
-
22
- expectPrinted("true", Bool(true))
23
- expectPrinted("false", Bool(false))
24
+ expectPrinted("true", true as CBool)
+ expectPrinted("false", false as CBool)
+
+ expectPrinted("true", true as Bool)
+ expectPrinted("false", false as Bool)
25
expectPrinted("true", true)
26
expectPrinted("false", false)
27
0 commit comments