Skip to content

Commit f8b1a3a

Browse files
committed
fix lint
1 parent cbdf698 commit f8b1a3a

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

src/EFCore.Ydb/test/EntityFrameworkCore.Ydb.FunctionalTests/Query/DecimalParameterizedYdbTheoryTest.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@ private DbContextOptions<ParametricDecimalContext> BuildOptions()
2121

2222
public static IEnumerable<object[]> AdoLikeCases =>
2323
[
24-
[22, 9, 1.23456789m],
24+
[22, 9, 1.23456789m],
2525
[30, 10, 123.4567890123m],
26-
[18, 2, 1.239m]
26+
[18, 2, 1.239m]
2727
];
2828

2929
public static IEnumerable<object[]> OverflowCases =>
3030
[
31-
[15, 2, 123456789012345.67m],
32-
[10, 0, 12345678901m],
33-
[22, 9, 1.0000000001m]
31+
[15, 2, 123456789012345.67m],
32+
[10, 0, 12345678901m],
33+
[22, 9, 1.0000000001m]
3434
];
3535

3636
private ParametricDecimalContext NewCtx(int p, int s)

src/EFCore.Ydb/test/EntityFrameworkCore.Ydb.FunctionalTests/Query/ParametricDecimalContext.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,12 @@ public ParametricDecimalContext(DbContextOptions<ParametricDecimalContext> optio
1616

1717
public DbSet<ParamItem> Items => Set<ParamItem>();
1818

19-
protected override void OnModelCreating(ModelBuilder modelBuilder)
20-
{
19+
protected override void OnModelCreating(ModelBuilder modelBuilder) =>
2120
modelBuilder.Entity<ParamItem>(b =>
2221
{
2322
b.HasKey(x => x.Id);
2423
b.Property(x => x.Price).HasPrecision(_p, _s);
2524
});
26-
}
2725
}
2826

2927
public sealed class ParamItem

0 commit comments

Comments
 (0)