From 937d75d2fc150c29d3510656211dae0aac7aa643 Mon Sep 17 00:00:00 2001 From: siddharth Date: Sun, 15 May 2022 22:44:39 -0400 Subject: nws: update NWSPointProperties Add GridId --- nws/nws_test.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'nws/nws_test.go') diff --git a/nws/nws_test.go b/nws/nws_test.go index db288d2..be1034d 100644 --- a/nws/nws_test.go +++ b/nws/nws_test.go @@ -17,6 +17,9 @@ func TestPoints(t *testing.T) { 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.GridId != "CLE" { + t.Errorf("points: gridid: %v", np.Properties.GridId) + } if np.Properties.GridX != 33 { t.Errorf("points: gridx: %v", np.Properties.GridX) } -- cgit v1.2.3