From 7e50bc27cab438421c79f7a6e5ad29d5132ec1cc Mon Sep 17 00:00:00 2001 From: siddharth ravikumar Date: Thu, 16 Jun 2022 00:42:00 -0400 Subject: nws: add `GetAlerts` --- nws/nws_test.go | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'nws/nws_test.go') diff --git a/nws/nws_test.go b/nws/nws_test.go index a92ed7e..21127e0 100644 --- a/nws/nws_test.go +++ b/nws/nws_test.go @@ -242,3 +242,11 @@ func TestNWSGetWrapper(t *testing.T) { return } } + +func TestAlerts(t *testing.T) { + _, err := GetAlerts(33.2938, -83.9674) + if err != nil { + t.Errorf("alerts: %v", err) + return + } +} -- cgit v1.2.3