Fix bug #61981
Fixed bug #61981
more test coverage: missing square bracket error message