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 504981d commit d7a0cd7Copy full SHA for d7a0cd7
tests/dbip.rs
@@ -15,11 +15,11 @@ mod tests {
15
let city = result.city.unwrap();
16
assert_eq!(city.geoname_id, None);
17
let names = city.names.unwrap();
18
- assert_eq!(names.get("en"), Some("Boston"));
+ assert_eq!(names.get("en"), Some("Medfield"));
19
20
let location = result.location.unwrap();
21
- assert_eq!(location.latitude, Some(42.3601));
22
- assert_eq!(location.longitude, Some(-71.0589));
+ assert_eq!(location.latitude, Some(42.1876));
+ assert_eq!(location.longitude, Some(-71.3065));
23
24
let subdivisions = result.subdivisions.unwrap();
25
assert_eq!(subdivisions.len(), 1);
@@ -60,7 +60,7 @@ mod tests {
60
let result = reader
61
.lookup(IpAddr::from_str("66.30.184.198").unwrap())
62
.unwrap();
63
- assert_eq!(result.autonomous_system_number, Some(7922));
+ assert_eq!(result.autonomous_system_number, Some(7015));
64
assert_eq!(
65
result.autonomous_system_organization,
66
Some("Comcast Cable Communications, LLC")
0 commit comments