Skip to content

Commit 801d2f3

Browse files
MichelZedwardneal
authored andcommitted
Fix grammatical errors
Co-authored-by: Edward Neal <55035479+edwardneal@users.noreply.github.com>
1 parent fbcb046 commit 801d2f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/ExceptionTest/ConnectionExceptionTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ public void TestConnectionStateWithErrorClass20()
4242
SqlException innerEx = Assert.IsType<SqlException>(exception.InnerException);
4343
Assert.Equal(20, innerEx.Class);
4444
Assert.StartsWith("A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible.", innerEx.Message);
45-
// Since the server is not accessible driver can close the close the connection
46-
// It is user responsibilty to maintain the connection.
45+
// Since the server is not accessible, the driver can close the connection.
46+
// It is the user's responsibility to maintain the connection.
4747
Assert.Equal(System.Data.ConnectionState.Closed, conn.State);
4848
}
4949

0 commit comments

Comments
 (0)