Skip to content

Commit

Permalink
Update submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwald committed Feb 19, 2021
1 parent 6385cb0 commit d8c5c3b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions reader_test.go
Expand Up @@ -65,7 +65,7 @@ func TestReader(t *testing.T) {
)

assert.Equal(t, uint(2635167), record.Country.GeoNameID)
assert.True(t, record.Country.IsInEuropeanUnion)
assert.False(t, record.Country.IsInEuropeanUnion)
assert.Equal(t, "GB", record.Country.IsoCode)
assert.Equal(t,
map[string]string{
Expand Down Expand Up @@ -180,7 +180,7 @@ func TestCountry(t *testing.T) {
record, err := reader.Country(net.ParseIP("81.2.69.160"))
assert.Nil(t, err)

assert.True(t, record.Country.IsInEuropeanUnion)
assert.False(t, record.Country.IsInEuropeanUnion)
assert.False(t, record.RegisteredCountry.IsInEuropeanUnion)
assert.False(t, record.RepresentedCountry.IsInEuropeanUnion)
}
Expand Down
2 changes: 1 addition & 1 deletion test-data
Submodule test-data updated 46 files
+ MaxMind-DB-test-metadata-pointers.mmdb
+ bad-data/maxminddb-python/bad-unicode-in-map-key.mmdb
+1 −0 source-data/GeoIP2-Anonymous-IP-Test.json
+28 −48 source-data/GeoIP2-City-Test.json
+0 −58 source-data/GeoIP2-Country-Test.json
+0 −3 source-data/GeoIP2-Enterprise-Test.json
+3 −1 source-data/GeoIP2-ISP-Test.json
+87 −4 source-data/GeoIP2-Precision-Enterprise-Test.json
+4,099 −0 source-data/GeoLite2-ASN-Test.json
+12,804 −0 source-data/GeoLite2-City-Test.json
+11,280 −0 source-data/GeoLite2-Country-Test.json
+ test-data/GeoIP2-Anonymous-IP-Test.mmdb
+ test-data/GeoIP2-City-Test-Broken-Double-Format.mmdb
+ test-data/GeoIP2-City-Test-Invalid-Node-Count.mmdb
+ test-data/GeoIP2-City-Test.mmdb
+ test-data/GeoIP2-Connection-Type-Test.mmdb
+ test-data/GeoIP2-Country-Test.mmdb
+ test-data/GeoIP2-DensityIncome-Test.mmdb
+ test-data/GeoIP2-Domain-Test.mmdb
+ test-data/GeoIP2-Enterprise-Test.mmdb
+ test-data/GeoIP2-ISP-Test.mmdb
+ test-data/GeoIP2-Precision-Enterprise-Test.mmdb
+ test-data/GeoIP2-Static-IP-Score-Test.mmdb
+ test-data/GeoIP2-User-Count-Test.mmdb
+ test-data/GeoLite2-ASN-Test.mmdb
+ test-data/GeoLite2-City-Test.mmdb
+ test-data/GeoLite2-Country-Test.mmdb
+ test-data/MaxMind-DB-no-ipv4-search-tree.mmdb
+ test-data/MaxMind-DB-string-value-entries.mmdb
+ test-data/MaxMind-DB-test-broken-pointers-24.mmdb
+ test-data/MaxMind-DB-test-broken-search-tree-24.mmdb
+ test-data/MaxMind-DB-test-decoder.mmdb
+ test-data/MaxMind-DB-test-ipv4-24.mmdb
+ test-data/MaxMind-DB-test-ipv4-28.mmdb
+ test-data/MaxMind-DB-test-ipv4-32.mmdb
+ test-data/MaxMind-DB-test-ipv6-24.mmdb
+ test-data/MaxMind-DB-test-ipv6-28.mmdb
+ test-data/MaxMind-DB-test-ipv6-32.mmdb
+ test-data/MaxMind-DB-test-metadata-pointers.mmdb
+ test-data/MaxMind-DB-test-mixed-24.mmdb
+ test-data/MaxMind-DB-test-mixed-28.mmdb
+ test-data/MaxMind-DB-test-mixed-32.mmdb
+ test-data/MaxMind-DB-test-nested.mmdb
+ test-data/MaxMind-DB-test-pointer-decoder.mmdb
+3 −3 test-data/README.md
+70 −18 test-data/write-test-data.pl

0 comments on commit d8c5c3b

Please sign in to comment.