From 5d88cdf920431b54a46c426c80b21e501c5daaee Mon Sep 17 00:00:00 2001 From: Bing Li Date: Mon, 9 Oct 2023 14:05:15 -0700 Subject: [PATCH] reformat --- .../java/net/snowflake/client/jdbc/ConnectionIT.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/test/java/net/snowflake/client/jdbc/ConnectionIT.java b/src/test/java/net/snowflake/client/jdbc/ConnectionIT.java index 509b12ade..689af8822 100644 --- a/src/test/java/net/snowflake/client/jdbc/ConnectionIT.java +++ b/src/test/java/net/snowflake/client/jdbc/ConnectionIT.java @@ -135,7 +135,8 @@ public void testProdConnectivity() throws SQLException { DriverManager.getConnection(url, properties); fail(); } catch (SQLException e) { - assertThat(e.getErrorCode(), anyOf(is(INVALID_CONNECTION_INFO_CODE), is(BAD_REQUEST_GS_CODE))); + assertThat( + e.getErrorCode(), anyOf(is(INVALID_CONNECTION_INFO_CODE), is(BAD_REQUEST_GS_CODE))); } } } @@ -544,7 +545,8 @@ public void testInsecureMode() throws SQLException { DriverManager.getConnection(deploymentUrl, properties); fail(); } catch (SQLException e) { - assertThat(e.getErrorCode(), anyOf(is(INVALID_CONNECTION_INFO_CODE), is(BAD_REQUEST_GS_CODE))); + assertThat( + e.getErrorCode(), anyOf(is(INVALID_CONNECTION_INFO_CODE), is(BAD_REQUEST_GS_CODE))); } deploymentUrl = "jdbc:snowflake://sfcsupport.snowflakecomputing.com?insecureMode=true"; @@ -558,7 +560,8 @@ public void testInsecureMode() throws SQLException { DriverManager.getConnection(deploymentUrl, properties); fail(); } catch (SQLException e) { - assertThat(e.getErrorCode(), anyOf(is(INVALID_CONNECTION_INFO_CODE), is(BAD_REQUEST_GS_CODE))); + assertThat( + e.getErrorCode(), anyOf(is(INVALID_CONNECTION_INFO_CODE), is(BAD_REQUEST_GS_CODE))); } }