mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
StdlibUnittest: Rename enum cases and static vars to match API guidelines.
This commit is contained in:
@@ -27,9 +27,9 @@ NSEnumeratorAPI.test("keyEnumerator") {
|
||||
expectEqualsUnordered(
|
||||
[1, 2], NSDictionary(dictionary: result).keyEnumerator()) {
|
||||
switch ($0 as! Int, $1 as! Int) {
|
||||
case let (x, y) where x == y: return .EQ
|
||||
case let (x, y) where x < y: return .LT
|
||||
case _: return .GT
|
||||
case let (x, y) where x == y: return .eq
|
||||
case let (x, y) where x < y: return .lt
|
||||
case _: return .gt
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user