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 27, 2024
1 parent f37b800 commit 6925441
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 6925441

Please sign in to comment.