Skip to content

Commit

Permalink
fix unit testxy
Browse files Browse the repository at this point in the history
  • Loading branch information
badmintoncryer committed Jun 22, 2024
1 parent 21ac3b0 commit 3577005
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/aws-cdk-lib/aws-docdb/test/cluster.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1198,7 +1198,7 @@ describe('DatabaseCluster', () => {
vpc,
engineVersion,
});
}).toThrow(`Invalid engine version: ${engineVersion}. Engine version must be in the format x.y.z`);
}).toThrow(`Invalid engine version: '${engineVersion}'. Engine version must be in the format x.y.z`);
});

describe('storage type', () => {
Expand Down Expand Up @@ -1244,7 +1244,7 @@ describe('DatabaseCluster', () => {
storageType: StorageType.IOPT1,
engineVersion: '3.6.0',
});
}).toThrow('I/O-optimized storage is supported starting with engine version 5.0.0, got 3.6.0');
}).toThrow("I/O-optimized storage is supported starting with engine version 5.0.0, got '3.6.0'");
});
});
});
Expand Down

0 comments on commit 3577005

Please sign in to comment.