This whole test is unnecessary, since [this test above](https://github.com/nzakas/eslint/blob/7789aaeb435f74a044dacfea76ce211f4ebd5057/tests/lib/rules.js#L31-L40) already takes care of it. It looks like you were working off an old version.