add tests

This commit is contained in:
mmacia committed 2026-05-07 20:54:47 +00:00
1 parent ea9a25f5b4
commit 08cddbe947
4 files changed
+112 -1

No files matched your search

+1
View File
@@ -13,6 +13,7 @@ defmodule FeedReader.TestSupport.ParserHaltFormat do
@impl true
def new_parser_state(_event_sink, opts) do
if Keyword.get(opts, :normal_exit), do: exit(:normal)
if Keyword.get(opts, :abnormal_exit), do: exit(:parser_crashed)
nil
end