Skip to content

Commit

Permalink
parameter type test fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
nester-a committed Dec 12, 2023
1 parent c202922 commit dc22c64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions QueryBuilder.Tests/ParameterTypeTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ public class ParameterTypeGenerator : IEnumerable<object[]>
private readonly List<object[]> _data = new List<object[]>
{
new object[] {"1", 1},
new object[] {Convert.ToSingle("10.5", CultureInfo.InvariantCulture).ToString(), 10.5},
new object[] {"10.5", 10.5},
new object[] {"-2", -2},
new object[] {Convert.ToSingle("-2.8", CultureInfo.InvariantCulture).ToString(), -2.8},
new object[] {"-2.8", -2.8},
new object[] {"cast(1 as bit)", true},
new object[] {"cast(0 as bit)", false},
new object[] {"'2018-10-28 19:22:00'", new DateTime(2018, 10, 28, 19, 22, 0)},
Expand Down

0 comments on commit dc22c64

Please sign in to comment.