Tests fail with realistic inputs #312
Labels
lifecycle/stale
Denotes an issue or PR has remained open with no activity, has become stale and will be auto-closed.
question
Further information is requested
I tried to add some tests to some working filters, and the tests consistently fail. I was able to reduce it to a minimal config that reproduces the problem. The filters are matching specific "noreply" addresses, but these services often include someone's display name, e.g.
From: "Michele Bertasi (Google Docs)" <comments-noreply@docs.google.com>
I assumed the best test would be one that has a real
from
header in thefrom
field, but the rule is not matching in gmailctl test.My config
Expected:
gmailctl test
should passActual:
The text was updated successfully, but these errors were encountered: