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 28, 2024
1 parent 2c855f1 commit d4f7735
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 d4f7735

Please sign in to comment.