summaryrefslogtreecommitdiffstats
path: root/nws/nws_test.go
diff options
context:
space:
mode:
authorsiddharth <s@ricketyspace.net>2022-05-15 22:40:46 -0400
committersiddharth <s@ricketyspace.net>2022-05-15 22:40:46 -0400
commitc89871fd1ece24833d5ef01d2fc2b0a3df0837f2 (patch)
tree850e285745237781e507c44fd7f2a038a6eef380 /nws/nws_test.go
parent2f1890fed1ac5d099e8c1c19d4b627c21da4c479 (diff)
nws: points -> Points
Diffstat (limited to 'nws/nws_test.go')
-rw-r--r--nws/nws_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/nws/nws_test.go b/nws/nws_test.go
index 8c52c25..e53788d 100644
--- a/nws/nws_test.go
+++ b/nws/nws_test.go
@@ -7,7 +7,7 @@ import "testing"
func TestPoints(t *testing.T) {
// Test valid lat,lng.
- np, err := points(41.115, -83.177)
+ np, err := Points(41.115, -83.177)
if err != nil {
t.Errorf("points: %v", err)
}
@@ -19,7 +19,7 @@ func TestPoints(t *testing.T) {
}
// Test invalid lat,lng
- np, err = points(115.0, -83.177)
+ np, err = Points(115.0, -83.177)
if err == nil {
t.Errorf("points: %v", np)
}