Skip to content

Commit

Permalink
Updated location tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaunteya Suryawanshi committed Apr 12, 2018
1 parent 258d229 commit 08e628a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion VWOTests/Segmentation/LocationTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import XCTest
extension Locale {
static func from(countryCode: String) -> Locale {
let id = Locale.identifier(fromComponents: [NSLocale.Key.countryCode._rawValue as String : countryCode])
let id = Locale.identifier(fromComponents: [NSLocale.Key.countryCode.rawValue as String : countryCode])
return Locale(identifier: id)
}
}
Expand Down

0 comments on commit 08e628a

Please sign in to comment.