This seems to have not been merged properly. A similar issue is with the test for fish, which has been submitted as a PR for rbenv: https://github.com/sstephenson/rbenv/pull/722.