[tests] improving NotNullVerifyingInstrumenterTest diagnostics

GitOrigin-RevId: cee77c623fe5b08feaa2198cad25430af78ac66a
This commit is contained in:
Roman Shevchenko
2019-12-18 21:34:44 +00:00
committed by intellij-monorepo-bot
parent 9034ea977f
commit 9c42c316c8
@@ -395,6 +395,9 @@ public abstract class NotNullVerifyingInstrumenterTest {
if (cause instanceof IllegalStateException || cause instanceof IllegalArgumentException) {
exceptionText = cause.getMessage();
}
else {
throw ex;
}
}
assertEquals(expectedError, exceptionText);
}