Clean up "emits the correct error message” test.
Clean up "emits the correct error message” test.

ashfurrow/Moya,Moya/Moya,AvdLee/Moya,justinmakaila/Moya,calt/Moya,calt/Moya,Moya/Moya,AvdLee/Moya,Moya/Moya,calt/Moya,justinmakaila/Moya,ashfurrow/Moya,AvdLee/Moya,justinmakaila/Moya