Skip to content

Commit da49351

Browse files
committed
trued toi fix unit tests
1 parent 36b921a commit da49351

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Test/DataTypesTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ private async Task TestDataType<TDateType>(string tableName, TDateType currentVa
243243
command.CommandText = $"select value from {tableName} where id = @id";
244244
command.Parameters.AddWithValue("@id", id);
245245

246-
MySqlDataReader reader = await command.ExecuteReaderAsync() as MySqlDataReader;
246+
using var reader = await command.ExecuteReaderAsync() as MySqlDataReader;
247247

248248
Assert.True(await reader.ReadAsync());
249249

0 commit comments

Comments
 (0)