Skip to content

Commit 5bf483a

Browse files
angelamayxiejycor
andauthored
Update sql/expression/function/sqrt_power_test.go
Co-authored-by: James Cor <[email protected]>
1 parent 417ff7f commit 5bf483a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/expression/function/sqrt_power_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ func TestPower(t *testing.T) {
9090
{"Base and exp are valid scientific float notation strings truncated", types.Text, sql.NewRow("0.12e1asdf", "+23e-1asdf"), 1.5209567545525318, false},
9191

9292
{"positive inf", types.Float64, sql.NewRow(2, math.Inf(1)), nil, true},
93-
{"negative inf", types.Float64, sql.NewRow(2, math.Inf(1)), nil, true},
93+
{"negative inf", types.Float64, sql.NewRow(2, math.Inf(-1)), nil, true},
9494
}
9595
for _, tt := range testCases {
9696
f := NewPower(

0 commit comments

Comments
 (0)