Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/data
Submodule data updated 49 files
+3 −3 .github/workflows/codeql-analysis.yml
+1 −1 .github/workflows/zizmor.yml
+1 −1 go.mod
+2 −2 go.sum
+20 −22 pkg/writer/geoip2.go
+188 −0 pkg/writer/geoip2_test.go
+6 −2 pkg/writer/writer.go
+155 −127 source-data/GeoIP2-City-Test.json
+1,884 −127 source-data/GeoIP2-Country-Test.json
+2,742 −50 source-data/GeoIP2-Enterprise-Test.json
+0 −296 source-data/GeoIP2-Precision-Enterprise-Sandbox-Test.json
+0 −3,727 source-data/GeoIP2-Precision-Enterprise-Test.json
+140 −116 source-data/GeoLite2-City-Test.json
+116 −116 source-data/GeoLite2-Country-Test.json
+ − test-data/GeoIP-Anonymous-Plus-Test.mmdb
+ − test-data/GeoIP-Regions-Test.mmdb
+ − test-data/GeoIP2-Anonymous-IP-Test.mmdb
+ − test-data/GeoIP2-City-Shield-Test.mmdb
+ − test-data/GeoIP2-City-Test.mmdb
+ − test-data/GeoIP2-Connection-Type-Test.mmdb
+ − test-data/GeoIP2-Country-Shield-Test.mmdb
+ − test-data/GeoIP2-Country-Test.mmdb
+ − test-data/GeoIP2-DensityIncome-Test.mmdb
+ − test-data/GeoIP2-Domain-Test.mmdb
+ − test-data/GeoIP2-Enterprise-Shield-Test.mmdb
+ − test-data/GeoIP2-Enterprise-Test.mmdb
+ − test-data/GeoIP2-IP-Risk-Test.mmdb
+ − test-data/GeoIP2-ISP-Test.mmdb
+ − test-data/GeoIP2-Precision-Enterprise-Shield-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-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
4 changes: 2 additions & 2 deletions test/test_reader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,8 @@ def test_country
'en' => 'United States',
'es' => 'Estados Unidos',
'fr' => 'États-Unis',
'ja' => 'アメリカ合衆国',
'pt-BR' => 'Estados Unidos',
'ja' => 'アメリカ',
'pt-BR' => 'EUA',
'ru' => 'США',
'zh-CN' => '美国',
},
Expand Down
Loading