From 831d374419894cd39df291bbd8971400a63c81b5 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Sun, 22 Jun 2025 20:27:02 -0500 Subject: [PATCH] format --- test/parser/helpers_test.exs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/parser/helpers_test.exs b/test/parser/helpers_test.exs index bbc085b..1bbe7bf 100644 --- a/test/parser/helpers_test.exs +++ b/test/parser/helpers_test.exs @@ -12,7 +12,10 @@ defmodule Parser.HelpersTest do test "parse_nmea_coordinate errors on invalid input" do assert Helpers.parse_nmea_coordinate("bad", "N") == {:error, "Invalid coordinate value"} - assert Helpers.parse_nmea_coordinate("4916.45", "Q") == {:error, "Invalid coordinate direction"} + + assert Helpers.parse_nmea_coordinate("4916.45", "Q") == + {:error, "Invalid coordinate direction"} + assert Helpers.parse_nmea_coordinate(nil, nil) == {:error, "Invalid coordinate format"} end