Skip to content

Commit f47de3f

Browse files
authored
chore(assertions): fixes typo in comment of Template's method (#23299)
---- ### All Submissions: * [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) ### Adding new Construct Runtime Dependencies: * [ ] This PR adds new construct runtime dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md/#adding-construct-runtime-dependencies) ### New Features * [ ] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/main/INTEGRATION_TESTS.md)? * [ ] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)? *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 84e20f8 commit f47de3f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

packages/@aws-cdk/assertions/lib/template.ts

+7-7
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export class Template {
9797
* Assert that a resource of the given type and properties exists in the
9898
* CloudFormation template.
9999
* By default, performs partial matching on the `Properties` key of the resource, via the
100-
* `Match.objectLike()`. To configure different behavour, use other matchers in the `Match` class.
100+
* `Match.objectLike()`. To configure different behavior, use other matchers in the `Match` class.
101101
* @param type the resource type; ex: `AWS::S3::Bucket`
102102
* @param props the 'Properties' section of the resource as should be expected in the template.
103103
*/
@@ -112,7 +112,7 @@ export class Template {
112112
* Assert that a resource of the given type and given definition exists in the
113113
* CloudFormation template.
114114
* By default, performs partial matching on the resource, via the `Match.objectLike()`.
115-
* To configure different behavour, use other matchers in the `Match` class.
115+
* To configure different behavior, use other matchers in the `Match` class.
116116
* @param type the resource type; ex: `AWS::S3::Bucket`
117117
* @param props the entire definition of the resource as should be expected in the template.
118118
*/
@@ -138,7 +138,7 @@ export class Template {
138138
* Assert that all resources of the given type contain the given definition in the
139139
* CloudFormation template.
140140
* By default, performs partial matching on the resource, via the `Match.objectLike()`.
141-
* To configure different behavour, use other matchers in the `Match` class.
141+
* To configure different behavior, use other matchers in the `Match` class.
142142
* @param type the resource type; ex: `AWS::S3::Bucket`
143143
* @param props the entire definition of the resources as they should be expected in the template.
144144
*/
@@ -153,7 +153,7 @@ export class Template {
153153
* Assert that all resources of the given type contain the given properties
154154
* CloudFormation template.
155155
* By default, performs partial matching on the `Properties` key of the resource, via the
156-
* `Match.objectLike()`. To configure different behavour, use other matchers in the `Match` class.
156+
* `Match.objectLike()`. To configure different behavior, use other matchers in the `Match` class.
157157
* @param type the resource type; ex: `AWS::S3::Bucket`
158158
* @param props the 'Properties' section of the resource as should be expected in the template.
159159
*/
@@ -192,7 +192,7 @@ export class Template {
192192
/**
193193
* Assert that an Output with the given properties exists in the CloudFormation template.
194194
* By default, performs partial matching on the resource, via the `Match.objectLike()`.
195-
* To configure different behavour, use other matchers in the `Match` class.
195+
* To configure different behavior, use other matchers in the `Match` class.
196196
* @param logicalId the name of the output. Provide `'*'` to match all outputs in the template.
197197
* @param props the output as should be expected in the template.
198198
*/
@@ -217,7 +217,7 @@ export class Template {
217217
/**
218218
* Assert that a Mapping with the given properties exists in the CloudFormation template.
219219
* By default, performs partial matching on the resource, via the `Match.objectLike()`.
220-
* To configure different behavour, use other matchers in the `Match` class.
220+
* To configure different behavior, use other matchers in the `Match` class.
221221
* @param logicalId the name of the mapping. Provide `'*'` to match all mappings in the template.
222222
* @param props the output as should be expected in the template.
223223
*/
@@ -242,7 +242,7 @@ export class Template {
242242
/**
243243
* Assert that a Condition with the given properties exists in the CloudFormation template.
244244
* By default, performs partial matching on the resource, via the `Match.objectLike()`.
245-
* To configure different behavour, use other matchers in the `Match` class.
245+
* To configure different behavior, use other matchers in the `Match` class.
246246
* @param logicalId the name of the mapping. Provide `'*'` to match all conditions in the template.
247247
* @param props the output as should be expected in the template.
248248
*/

0 commit comments

Comments
 (0)