test: note that the square bracket form is available

As requested in https://github.com/fish-shell/fish-shell/issues/1850