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 a7d14ba commit 17d6b19Copy full SHA for 17d6b19
test/1_stdlib/Runtime.swift
@@ -2247,11 +2247,11 @@ Reflection.test("NSRange QuickLook") {
2247
let rng = NSRange(location:-9223372036854775808, length:5)
2248
let ql = PlaygroundQuickLook(reflecting: rng)
2249
switch ql {
2250
- case .Range(let loc, let len):
+ case .Range(let loc, let len):
2251
expectEqual(loc, -9223372036854775808)
2252
expectEqual(len, 5)
2253
- default:
2254
- expectFalse(true, "PlaygroundQuickLook for NSRange did not match Range")
+ default:
+ expectUnreachable("PlaygroundQuickLook for NSRange did not match Range")
2255
}
2256
2257
0 commit comments