From 69254412309e651985b11ce99d2a098ceb28b491 Mon Sep 17 00:00:00 2001 From: Marcel Philipiak Date: Tue, 26 Nov 2024 22:42:25 +0100 Subject: [PATCH] patches to SpelExpressionSpec --- .../pl/touk/nussknacker/engine/spel/SpelExpressionSpec.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scenario-compiler/src/test/scala/pl/touk/nussknacker/engine/spel/SpelExpressionSpec.scala b/scenario-compiler/src/test/scala/pl/touk/nussknacker/engine/spel/SpelExpressionSpec.scala index 645ae2fd056..e0b8f635534 100644 --- a/scenario-compiler/src/test/scala/pl/touk/nussknacker/engine/spel/SpelExpressionSpec.scala +++ b/scenario-compiler/src/test/scala/pl/touk/nussknacker/engine/spel/SpelExpressionSpec.scala @@ -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 }