Update verify_diagnostics_test after moving to CompileTimeErrorCode.
Update verify_diagnostics_test after moving to CompileTimeErrorCode.

TBR

R=brianwilkerson@google.com

Change-Id: I5a12ca2bfc0853563e2574644b6e74b0456e8629
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/155922
Reviewed-by: Konstantin Shcheglov <09e4d7516628963212bf4aace2f97603d2b706e4@google.com>

dart-lang/sdk,dart-lang/sdk,dart-lang/sdk,dart-lang/sdk,dart-lang/sdk,dart-lang/sdk,dart-lang/sdk,dart-lang/sdk