Skip to content

Commit 1680e98

Browse files
mmaengbenbridts
andauthored
chore(documentation): fix tests for pr#885 (#916)
* Specify that numbers are "Length" in documentation People might otherwise read this as a check on the string value * Update test multiref schema to expect minimum property Co-authored-by: Ben Bridts <ben.bridts@gmail.com>
1 parent 5dc9505 commit 1680e98

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/rpdk/core/templates/docs-readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ _Allowed Values_: {% for allowedvalue in prop.allowedvalues %}<code>{{ allowedva
6363
{% endif %}
6464
{% if prop.minLength %}
6565

66-
_Minimum_: <code>{{ prop.minLength }}</code>
66+
_Minimum Length_: <code>{{ prop.minLength }}</code>
6767
{% endif %}
6868
{% if prop.maxLength %}
6969

70-
_Maximum_: <code>{{ prop.maxLength }}</code>
70+
_Maximum Length_: <code>{{ prop.maxLength }}</code>
7171
{% endif %}
7272
{% if prop.pattern %}
7373

tests/data/schema/target_output/multiref.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ _Required_: No
5757

5858
_Type_: String
5959

60-
_Minimum_: <code>13</code>
60+
_Minimum Length_: <code>13</code>
6161

6262
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
6363

@@ -67,7 +67,7 @@ _Required_: No
6767

6868
_Type_: String, Map, Integer, Boolean
6969

70-
_Minimum_: <code>13</code>
70+
_Minimum Length_: <code>13</code>
7171

7272
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
7373

0 commit comments

Comments
 (0)