add tests
This commit is contained in:
1 parent
ea9a25f5b4
commit
08cddbe947
4 files changed
+112
-1
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user