Skip to content

Commit 42fdf79

Browse files
fix linter
1 parent a270610 commit 42fdf79

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/Ydb.Sdk/test/Ydb.Sdk.Ado.Specification.Tests/YdbDataReaderTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ protected override async Task OnDisposeAsync()
329329
connection.ConnectionString = ConnectionString;
330330
await connection.OpenAsync();
331331

332-
await new YdbCommand { Connection = connection, CommandText = $"DROP TABLE `select_value`" }
332+
await new YdbCommand { Connection = connection, CommandText = "DROP TABLE `select_value`" }
333333
.ExecuteNonQueryAsync();
334334
}
335335

src/Ydb.Sdk/test/Ydb.Sdk.Ado.Specification.Tests/YdbSelectValueFixture.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ public string CreateSelectSql(byte[] value) =>
3535
});
3636

3737

38-
public string SelectNoRows => $"SELECT 1 FROM `select_value` WHERE 0 = 1;";
38+
public string SelectNoRows => "SELECT 1 FROM `select_value` WHERE 0 = 1;";
3939

4040
public System.Type NullValueExceptionType => typeof(InvalidCastException);
4141

42-
public string DeleteNoRows => $"DELETE FROM `select_value` WHERE 0 = 1;";
42+
public string DeleteNoRows => "DELETE FROM `select_value` WHERE 0 = 1;";
4343
}

src/Ydb.Sdk/test/Ydb.Sdk.Ado.Tests/YdbAdoUserPasswordTests.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@ namespace Ydb.Sdk.Ado.Tests;
55
public class YdbAdoUserPasswordTests : TestBase
66
{
77
private const string User = "kurdyukovkirya";
8-
8+
99
[Fact]
1010
public async Task Authentication_WhenUserAndPassword_ReturnValidConnection()
1111
{
12-
await using var userPasswordConnection = new YdbConnection($"{ConnectionString};User={User};Password=password;");
12+
await using var userPasswordConnection =
13+
new YdbConnection($"{ConnectionString};User={User};Password=password;");
1314
await userPasswordConnection.OpenAsync();
1415
Assert.Equal(3, await new YdbCommand(userPasswordConnection)
1516
{ CommandText = "SELECT 1 + 2" }.ExecuteScalarAsync());

src/Ydb.Sdk/test/Ydb.Sdk.Topic.Tests/ReaderUnitTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using Google.Protobuf;
33
using Google.Protobuf.WellKnownTypes;
44
using Grpc.Core;
5-
using Microsoft.Extensions.Logging;
65
using Moq;
76
using Xunit;
87
using Ydb.Issue;

0 commit comments

Comments
 (0)