Skip to content

Commit

Permalink
Remove unused
Browse files Browse the repository at this point in the history
  • Loading branch information
saurabh500 committed Jul 30, 2024
1 parent eab7f33 commit c448b6e
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ public class SqlJson : INullable
/// </summary>
private bool _isNull;

private readonly JsonDocument? _jsonDocument;

private readonly string? _jsonString;

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
<Compile Include="TestTdsServer.cs" />
<Compile Include="SqlHelperTest.cs" />
<Compile Include="..\..\src\Microsoft\Data\Common\MultipartIdentifier.cs" />
<Compile Include="SqlJsonTest.cs" />
</ItemGroup>
<!-- XUnit and XUnit extensions -->
<ItemGroup>
Expand Down
20 changes: 20 additions & 0 deletions src/Microsoft.Data.SqlClient/tests/FunctionalTests/SqlJsonTest.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.


using Microsoft.Data.SqlTypes;
using Xunit;

namespace Microsoft.Data.SqlClient.Tests
{
public class SqlJsonTest
{
[Fact]
public void SqlJsonTest_Null()
{
SqlJson json = new();
Assert.True(json.IsNull);
}
}
}

0 comments on commit c448b6e

Please sign in to comment.