diff --git a/test/Microsoft.Data.Sqlite.Tests/SqliteCommandTest.cs b/test/Microsoft.Data.Sqlite.Tests/SqliteCommandTest.cs index 01e6efc76e5..30adda5ae93 100644 --- a/test/Microsoft.Data.Sqlite.Tests/SqliteCommandTest.cs +++ b/test/Microsoft.Data.Sqlite.Tests/SqliteCommandTest.cs @@ -49,6 +49,7 @@ public void CommandText_coalesces_to_empty() CommandText = null }; + Assert.NotNull(command.CommandText); Assert.Empty(command.CommandText); } diff --git a/test/Microsoft.Data.Sqlite.Tests/SqliteConnectionStringBuilderTest.cs b/test/Microsoft.Data.Sqlite.Tests/SqliteConnectionStringBuilderTest.cs index 93eca452762..e5678d78c63 100644 --- a/test/Microsoft.Data.Sqlite.Tests/SqliteConnectionStringBuilderTest.cs +++ b/test/Microsoft.Data.Sqlite.Tests/SqliteConnectionStringBuilderTest.cs @@ -86,6 +86,7 @@ public void ConnectionString_coalesces_to_empty() ConnectionString = null }; + Assert.NotNull(builder.ConnectionString); Assert.Empty(builder.ConnectionString); } diff --git a/test/Microsoft.Data.Sqlite.Tests/SqliteConnectionTest.cs b/test/Microsoft.Data.Sqlite.Tests/SqliteConnectionTest.cs index 9c0593031bd..d8e8a9d7e75 100644 --- a/test/Microsoft.Data.Sqlite.Tests/SqliteConnectionTest.cs +++ b/test/Microsoft.Data.Sqlite.Tests/SqliteConnectionTest.cs @@ -41,6 +41,7 @@ public void ConnectionString_coalesces_to_empty() ConnectionString = null }; + Assert.NotNull(connection.ConnectionString); Assert.Empty(connection.ConnectionString); } diff --git a/test/Microsoft.Data.Sqlite.Tests/SqliteParameterTest.cs b/test/Microsoft.Data.Sqlite.Tests/SqliteParameterTest.cs index e7758f21dac..91707b24285 100644 --- a/test/Microsoft.Data.Sqlite.Tests/SqliteParameterTest.cs +++ b/test/Microsoft.Data.Sqlite.Tests/SqliteParameterTest.cs @@ -49,6 +49,7 @@ public void ParameterName_coalesces_to_empty() ParameterName = null }; + Assert.NotNull(parameter.ParameterName); Assert.Empty(parameter.ParameterName); } @@ -68,6 +69,7 @@ public void SourceColumn_coalesces_to_empty() SourceColumn = null }; + Assert.NotNull(parameter.SourceColumn); Assert.Empty(parameter.SourceColumn); }