mock:2:7: Expecting a closing square bracket: ']' {$a[ 1} ^