Adjusts error message in tests (#14086).
Authored by: jplang 2013-06-04
Parent: [r11926]
Child: [r11928]