ERROR: LoadError: syntax: unexpected "]"

Note you can quote your code: PSA: how to quote code with backticks, makes it easier to help you.