The final check only verified that the key was absent afterwards, which also passes when the key was never matched, e.g. a hand-added key with a comment. Requiring the key beforehand makes that case fail visibly.
The final check only verified that the key was absent afterwards, which also passes when the key was never matched, e.g. a hand-added key with a comment. Requiring the key beforehand makes that case fail visibly.