Help with Dialyzer Output: Function ExUnit.Assertions.flunk/1 does not exist

Could be that do_validate_locale is returning {:ok, String.t()} or {:error, reason} where reason could be generated from locale_error
or other function not satisfying {:error, {module(), String.t()}}, ? which I think the type module() is an alias for atom()