File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/EFCore.Ydb/test/EntityFrameworkCore.Ydb.FunctionalTests/Query Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ public async Task Parameter_decimal_uses_default_22_9_and_roundtrips()
1414 await using var ctx = Fixture . CreateContext ( ) ;
1515 await ctx . Database . EnsureCreatedAsync ( ) ;
1616
17- decimal v = 1.23456789m ;
17+ var v = 1.23456789m ;
1818 ctx . Add ( new ItemDefault { Price = v } ) ;
1919 await ctx . SaveChangesAsync ( ) ;
2020
@@ -29,15 +29,15 @@ public async Task Parameter_decimal_respects_explicit_22_9_and_roundtrips()
2929 await using var ctx = Fixture . CreateContext ( ) ;
3030 await ctx . Database . EnsureCreatedAsync ( ) ;
3131
32- decimal v = 123.456789012m ;
32+ var v = 123.456789012m ;
3333 ctx . Add ( new ItemExplicit { Price = v } ) ;
3434 await ctx . SaveChangesAsync ( ) ;
3535
3636 var got = await ctx . Set < ItemExplicit > ( ) . Where ( x => x . Price == v ) . ToListAsync ( ) ;
3737 Assert . Single ( got ) ;
3838 Assert . Equal ( v , got [ 0 ] . Price ) ;
3939 }
40-
40+
4141 [ ConditionalFact ]
4242 public async Task Decimal_out_of_range_bubbles_up ( )
4343 {
You can’t perform that action at this time.
0 commit comments