summaryrefslogtreecommitdiffstats
path: root/nws
diff options
context:
space:
mode:
authorsiddharth <s@ricketyspace.net>2022-05-16 21:49:50 -0400
committersiddharth <s@ricketyspace.net>2022-05-16 21:50:01 -0400
commitabc77bdb347ed5042de6d74771d52291fe5fef0a (patch)
treea7c5b207d56eb0e305a87f1004a1605a83ce1731 /nws
parent4736e4e670e70b2f49da98d6de16546ff49c6c98 (diff)
nws: update TestPoints
Diffstat (limited to 'nws')
-rw-r--r--nws/nws_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/nws/nws_test.go b/nws/nws_test.go
index e86e250..27f56e4 100644
--- a/nws/nws_test.go
+++ b/nws/nws_test.go
@@ -10,6 +10,7 @@ func TestPoints(t *testing.T) {
np, err := Points(41.115, -83.177)
if err != nil {
t.Errorf("points: %v", err)
+ return
}
if np.Properties.Forecast != "https://api.weather.gov/gridpoints/CLE/33,42/forecast" {
t.Errorf("points: forcecast link: '%v'", np.Properties.Forecast)