Skip to content

Commit

Permalink
patches to SpelExpressionSpec
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcel Philipiak committed Nov 26, 2024
1 parent 17b1c1c commit db7265d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2044,7 +2044,7 @@ class SpelExpressionSpec extends AnyFunSuite with Matchers with ValidatedValuesD
val parsedRoundTripExpression = parse[Any](mapExpression + ".toList.toMap", customCtx).validValue
parsedRoundTripExpression.evaluateSync[Any](customCtx) shouldBe givenMap
val roundTripTypeIsAGeneralizationOfGivenType =
givenMapExpression.returnType canBeSubclassOf parsedRoundTripExpression.returnType
givenMapExpression.returnType canBeConvertedTo parsedRoundTripExpression.returnType
roundTripTypeIsAGeneralizationOfGivenType shouldBe true
}

Expand Down

0 comments on commit db7265d

Please sign in to comment.