Skip to content

Commit

Permalink
used const
Browse files Browse the repository at this point in the history
  • Loading branch information
Pawel Czajka committed Dec 17, 2024
1 parent 0c2de0d commit 133a299
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ import pl.touk.nussknacker.engine.spel.SpelExpressionParseError.{
}
import pl.touk.nussknacker.engine.spel.SpelExpressionParser.{Flavour, Standard}
import pl.touk.nussknacker.engine.testing.ModelDefinitionBuilder
import pl.touk.nussknacker.springframework.util.NumberUtilsConsts
import pl.touk.nussknacker.test.ValidatedValuesDetailedMessage

import java.lang.{
Expand Down Expand Up @@ -365,7 +366,7 @@ class SpelExpressionSpec extends AnyFunSuite with Matchers with ValidatedValuesD

test("should set scale at least 18 when creating big double") {
val result = evaluate[Any]("""(1).toBigDecimal""".stripMargin)
result.asInstanceOf[java.math.BigDecimal].scale() shouldBe 18
result.asInstanceOf[java.math.BigDecimal].scale() shouldBe NumberUtilsConsts.DEFAULT_BIG_DECIMAL_SCALE
}

test("indexer access on unknown - array like case") {
Expand Down

0 comments on commit 133a299

Please sign in to comment.