We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f74e4bd commit 5340dbeCopy full SHA for 5340dbe
src/test/java/com/microsoft/sqlserver/jdbc/callablestatement/CallableStatementTest.java
@@ -1169,9 +1169,10 @@ public void testCallableStatementDefaultValues() throws SQLException {
1169
fail(TestResource.getResource("R_expectedFailPassed"));
1170
1171
} catch (Exception e) {
1172
+ String msg = e.getMessage();
1173
assertTrue(TestResource
- .getResource("R_nullPointerExceptionFromResultSet").equalsIgnoreCase(e.getMessage())
1174
- || e.getMessage().equals(null));
+ .getResource("R_nullPointerExceptionFromResultSet").equalsIgnoreCase(msg)
1175
+ || msg == null);
1176
}
1177
1178
try (CallableStatement cstmt = connection.prepareCall(call1)) {
0 commit comments