async def METHOD_NAME() -> None:
    ff = FileFilter()
    ff.exclude("dir/s*", "", "dir/")
    ff.exclude("/*.txt", "", "dir/")
    assert not await ff.match("spam.txt")
    assert await ff.match("ham.txt")
    assert not await ff.match("spam")