Skip to content

Commit

Permalink
Fix test from "Swap parameters in `Math.Log(double a, double newBase)…
Browse files Browse the repository at this point in the history
…` translation".
  • Loading branch information
lauxjpn committed Apr 25, 2024
1 parent 156585f commit e083524
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,7 @@ await AssertQueryScalar(

AssertSql(
$"""
SELECT LOG(7.0, CAST(`o`.`Discount` AS double))
SELECT LOG(7.0, {MySqlTestHelpers.CastAsDouble("`o`.`Discount`")})
FROM `Order Details` AS `o`
WHERE ((`o`.`OrderID` = 11077) AND (`o`.`Discount` > 0)) AND (LOG(7.0, {MySqlTestHelpers.CastAsDouble("`o`.`Discount`")}) < -1.0)
""");
Expand Down

0 comments on commit e083524

Please sign in to comment.