From 7b13bb91cd786277fdc67a0917cfa0dbd3776df0 Mon Sep 17 00:00:00 2001 From: siddharth Date: Sun, 15 May 2022 23:17:46 -0400 Subject: nws: update NWSPointProperties ForecastLink -> Forecast ForecastHourlLink -> ForecastHourly --- nws/nws_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'nws/nws_test.go') diff --git a/nws/nws_test.go b/nws/nws_test.go index be1034d..97dd184 100644 --- a/nws/nws_test.go +++ b/nws/nws_test.go @@ -11,11 +11,11 @@ func TestPoints(t *testing.T) { if err != nil { t.Errorf("points: %v", err) } - if np.Properties.ForecastLink != "https://api.weather.gov/gridpoints/CLE/33,42/forecast" { - t.Errorf("points: forcecast link: '%v'", np.Properties.ForecastLink) + if np.Properties.Forecast != "https://api.weather.gov/gridpoints/CLE/33,42/forecast" { + t.Errorf("points: forcecast link: '%v'", np.Properties.Forecast) } - if np.Properties.ForecastHourlyLink != "https://api.weather.gov/gridpoints/CLE/33,42/forecast/hourly" { - t.Errorf("points: forcecast link: '%v'", np.Properties.ForecastHourlyLink) + if np.Properties.ForecastHourly != "https://api.weather.gov/gridpoints/CLE/33,42/forecast/hourly" { + t.Errorf("points: forcecast link: '%v'", np.Properties.ForecastHourly) } if np.Properties.GridId != "CLE" { t.Errorf("points: gridid: %v", np.Properties.GridId) -- cgit v1.2.3