empty covered by not equals - not allowed

This commit is contained in:
Willem van den Ende 2025-09-14 16:13:52 +01:00
parent b5e308aec6
commit e30a92193d

View File

@ -9,6 +9,10 @@ defmodule FunCore.BasicSignupWhitelistTest do
refute(mail_whitelisted_fun(nil, "joe@example.com"))
end
test "When empty, not whitelisted" do
refute(mail_whitelisted_fun("", "joe@example.com"))
end
test "When set and mach, then whitelisted" do
assert(mail_whitelisted_fun("joe@example.com", "joe@example.com"))
end