From d984c2dac8ecdd483e0993ae1fe10fb5c35a964a Mon Sep 17 00:00:00 2001 From: ParitoshKabra <76113183+ParitoshKabra@users.noreply.github.com> Date: Fri, 6 May 2022 13:50:57 +0530 Subject: [PATCH] fix(cli/geoip): correct typos in tests (#710) --- cmd/ooniprobe/internal/cli/geoip/geoip_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/ooniprobe/internal/cli/geoip/geoip_test.go b/cmd/ooniprobe/internal/cli/geoip/geoip_test.go index cdcf7e2..a1c9458 100644 --- a/cmd/ooniprobe/internal/cli/geoip/geoip_test.go +++ b/cmd/ooniprobe/internal/cli/geoip/geoip_test.go @@ -117,18 +117,18 @@ func TestMaybeLookupLocationSuccess(t *testing.T) { t.Fatal("invalid log level") } if entry.Message != "Looked up your location" { - t.Fatal("invalid .Message") + t.Fatal("invalid Message") } if entry.Fields["asn"].(string) != "AS30722" { t.Fatal("invalid asn") } if entry.Fields["country_code"].(string) != "IT" { - t.Fatal("invalid asn") + t.Fatal("invalid country code") } if entry.Fields["network_name"].(string) != "Vodafone Italia S.p.A." { - t.Fatal("invalid asn") + t.Fatal("invalid network name") } if entry.Fields["ip"].(string) != "130.25.90.216" { - t.Fatal("invalid asn") + t.Fatal("invalid ip") } }