Skip to content

Commit 17d6b19

Browse files
author
Enrico Granata
committed
Changes to the test case due to Dmitri's feedback
1 parent a7d14ba commit 17d6b19

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/1_stdlib/Runtime.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2247,11 +2247,11 @@ Reflection.test("NSRange QuickLook") {
22472247
let rng = NSRange(location:-9223372036854775808, length:5)
22482248
let ql = PlaygroundQuickLook(reflecting: rng)
22492249
switch ql {
2250-
case .Range(let loc, let len):
2250+
case .Range(let loc, let len):
22512251
expectEqual(loc, -9223372036854775808)
22522252
expectEqual(len, 5)
2253-
default:
2254-
expectFalse(true, "PlaygroundQuickLook for NSRange did not match Range")
2253+
default:
2254+
expectUnreachable("PlaygroundQuickLook for NSRange did not match Range")
22552255
}
22562256
}
22572257

0 commit comments

Comments
 (0)