summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsiddharth <s@ricketyspace.net>2022-05-16 21:49:28 -0400
committersiddharth <s@ricketyspace.net>2022-05-16 21:49:28 -0400
commit4736e4e670e70b2f49da98d6de16546ff49c6c98 (patch)
treeeae755cfd2fb65875db63b2cc81b85a2443a6afa
parent63a35560a1566b9f8ca8ddd2b436003b520c6876 (diff)
nws: update TestForecast
-rw-r--r--nws/nws_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/nws/nws_test.go b/nws/nws_test.go
index 7dd5780..e86e250 100644
--- a/nws/nws_test.go
+++ b/nws/nws_test.go
@@ -39,12 +39,14 @@ func TestForecast(t *testing.T) {
np, err := Points(41.115, -83.177)
if err != nil {
t.Errorf("error: %v", err)
+ return
}
// Get forecast.
fc, err := Forecast(np)
if err != nil {
t.Errorf("error: %v", err)
+ return
}
// Verify periods.