diff --git a/packages/aws-cdk-lib/aws-stepfunctions/test/state-machine-resources.test.ts b/packages/aws-cdk-lib/aws-stepfunctions/test/state-machine-resources.test.ts index 3ca0a4638b524..62b088ebe048e 100644 --- a/packages/aws-cdk-lib/aws-stepfunctions/test/state-machine-resources.test.ts +++ b/packages/aws-cdk-lib/aws-stepfunctions/test/state-machine-resources.test.ts @@ -162,6 +162,7 @@ describe('State Machine Resources', () => { 'States.ArrayLength($.inputArray)', 'States.JsonMerge($.json1, $.json2, false)', 'States.StringToJson($.escapedJsonString)', + 'plainString', ])('fails in synthesis if specifying invalid intrinsic functions in the causePath and errorPath (%s)', (intrinsic) => { // GIVEN const app = new cdk.App();