Fix test for syntax error caused by a lone :.