Make this `config.spec_matcher === pathname.basename.to_s`, so the config option can be any object that responds to `===`.