Skip to content

Commit 2513ea7

Browse files
address style
1 parent 0ed62b3 commit 2513ea7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/encoders/ExpressionEncoderSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ class ExpressionEncoderSuite extends CodegenInterpretedPlanTest with AnalysisTes
387387
encodeDecodeTest(new java.math.BigDecimal(("9" * 20) + "." + "9" * 18),
388388
"java decimal within precision/scale limit")
389389

390-
encodeDecodeTest(BigDecimal(("9" * 20) + "." + "9" * 18).unary_-,
390+
encodeDecodeTest(-BigDecimal(("9" * 20) + "." + "9" * 18),
391391
"negative scala decimal within precision/scale limit")
392392
encodeDecodeTest(new java.math.BigDecimal(("9" * 20) + "." + "9" * 18).negate,
393393
"negative java decimal within precision/scale limit")

0 commit comments

Comments
 (0)