summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsiddharth ravikumar <s@ricketyspace.net>2026-01-19 12:40:03 -0500
committersiddharth ravikumar <s@ricketyspace.net>2026-01-19 12:40:03 -0500
commit1a14419e39055c0e87c651339b7276938d68de98 (patch)
tree106704fbf0a04f3af76e4358c1253e919d02c67e
parent7e4c363c8a0a8af3754ea3ff6a86724c5d3ff008 (diff)
nws: fix `TestPoints`
-rw-r--r--nws/nws_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/nws/nws_test.go b/nws/nws_test.go
index 7ddd97f..4ef31d0 100644
--- a/nws/nws_test.go
+++ b/nws/nws_test.go
@@ -20,19 +20,19 @@ func TestPoints(t *testing.T) {
t.Errorf("points: %v", err)
return
}
- if np.Properties.Forecast != "https://api.weather.gov/gridpoints/CLE/33,42/forecast" {
+ if np.Properties.Forecast != "https://api.weather.gov/gridpoints/CLE/34,43/forecast" {
t.Errorf("points: forcecast link: '%v'", np.Properties.Forecast)
}
- if np.Properties.ForecastHourly != "https://api.weather.gov/gridpoints/CLE/33,42/forecast/hourly" {
+ if np.Properties.ForecastHourly != "https://api.weather.gov/gridpoints/CLE/34,43/forecast/hourly" {
t.Errorf("points: forcecast link: '%v'", np.Properties.ForecastHourly)
}
if np.Properties.GridId != "CLE" {
t.Errorf("points: gridid: %v", np.Properties.GridId)
}
- if np.Properties.GridX != 33 {
+ if np.Properties.GridX != 34 {
t.Errorf("points: gridx: %v", np.Properties.GridX)
}
- if np.Properties.GridY != 42 {
+ if np.Properties.GridY != 43 {
t.Errorf("points: gridy: %v", np.Properties.GridY)
}