@@ -82,7 +82,7 @@ func TestLog2(t *testing.T) {
8282 {"Input value is zero" , types .Float64 , sql .NewRow (0 ), nil , nil },
8383 {"Input value is negative" , types .Float64 , sql .NewRow (- 1 ), nil , nil },
8484 {"Input value is valid string" , types .Float64 , sql .NewRow ("2" ), float64 (1 ), nil },
85- {"Input value is invalid string" , types .Float64 , sql .NewRow ("aaa" ), nil , sql . ErrInvalidType },
85+ {"Input value is invalid string" , types .Float64 , sql .NewRow ("aaa" ), nil , nil },
8686 {"Input value is invalid string truncates" , types .Float64 , sql .NewRow ("123.456" ), 6.947853143387016 , nil },
8787 {"Input value is valid float64" , types .Float64 , sql .NewRow (3 ), 1.5849625007211563 , nil },
8888 {"Input value is valid float32" , types .Float32 , sql .NewRow (float32 (6 )), 2.584962500721156 , nil },
@@ -123,7 +123,7 @@ func TestLog10(t *testing.T) {
123123 {"Input value is zero" , types .Float64 , sql .NewRow (0 ), nil , nil },
124124 {"Input value is negative" , types .Float64 , sql .NewRow (- 1 ), nil , nil },
125125 {"Input value is valid string" , types .Float64 , sql .NewRow ("2" ), float64 (0.3010299956639812 ), nil },
126- {"Input value is invalid string" , types .Float64 , sql .NewRow ("aaa" ), nil , sql . ErrInvalidType },
126+ {"Input value is invalid string" , types .Float64 , sql .NewRow ("aaa" ), nil , nil },
127127 {"Input value is invalid string truncates" , types .Float64 , sql .NewRow ("123.456" ), 2.0915122016277716 , nil },
128128 {"Input value is valid float64" , types .Float64 , sql .NewRow (3 ), 0.4771212547196624 , nil },
129129 {"Input value is valid float32" , types .Float32 , sql .NewRow (float32 (6 )), 0.7781512503836436 , nil },
0 commit comments