Skip to content

Commit d69c983

Browse files
committed
docs(assertions): fix "an warning" to "a warning" in JSDoc comments
"warning" starts with a consonant sound /w/, so the correct indefinite article is "a" (not "an").
1 parent 012cf32 commit d69c983

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/aws-cdk-lib/assertions/lib/annotations.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export class Annotations {
6161
}
6262

6363
/**
64-
* Assert that an warning with the given message exists in the synthesized CDK `Stack`.
64+
* Assert that a warning with the given message exists in the synthesized CDK `Stack`.
6565
*
6666
* @param constructPath the construct path to the warning, provide `'*'` to match all warnings in the template.
6767
* @param message the warning message as should be expected. This should be a string or Matcher object.
@@ -74,7 +74,7 @@ export class Annotations {
7474
}
7575

7676
/**
77-
* Assert that an warning with the given message does not exist in the synthesized CDK `Stack`.
77+
* Assert that a warning with the given message does not exist in the synthesized CDK `Stack`.
7878
*
7979
* @param constructPath the construct path to the warning, provide `'*'` to match all warnings in the template.
8080
* @param message the warning message as should be expected. This should be a string or Matcher object.

0 commit comments

Comments
 (0)