summaryrefslogtreecommitdiffstats
path: root/nws/nws_test.go
diff options
context:
space:
mode:
authorsiddharth <s@ricketyspace.net>2022-05-15 22:44:39 -0400
committersiddharth <s@ricketyspace.net>2022-05-15 22:44:39 -0400
commit937d75d2fc150c29d3510656211dae0aac7aa643 (patch)
treed84c4c7afec5a4ab0fefcb7368f4b68ead1bc146 /nws/nws_test.go
parent331dcaf0139fad478a3451228a2ad215f80876ce (diff)
nws: update NWSPointProperties
Add GridId
Diffstat (limited to 'nws/nws_test.go')
-rw-r--r--nws/nws_test.go3
1 files changed, 3 insertions, 0 deletions
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)
}