File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ will output
108
108
fc : " "
109
109
` ` `
110
110
111
- ## Retreive comment - map key example
111
+ ## Retrieve comment - map key example
112
112
From the previous example, we know that the comment is on the 'hello' _key_ as a lineComment
113
113
114
114
Given a sample.yml file of:
@@ -163,7 +163,7 @@ will output
163
163
fc : " "
164
164
` ` `
165
165
166
- ## Retreive comment - array example
166
+ ## Retrieve comment - array example
167
167
From the previous example, we know that the comment is on the first child as a headComment
168
168
169
169
Given a sample.yml file of:
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ var commentOperatorScenarios = []expressionScenario{
115
115
},
116
116
},
117
117
{
118
- description : "Retreive comment - map key example" ,
118
+ description : "Retrieve comment - map key example" ,
119
119
subdescription : "From the previous example, we know that the comment is on the 'hello' _key_ as a lineComment" ,
120
120
document : "hello: # hello-world-comment\n message: world" ,
121
121
expression : `.hello | key | line_comment` ,
@@ -133,7 +133,7 @@ var commentOperatorScenarios = []expressionScenario{
133
133
},
134
134
},
135
135
{
136
- description : "Retreive comment - array example" ,
136
+ description : "Retrieve comment - array example" ,
137
137
subdescription : "From the previous example, we know that the comment is on the first child as a headComment" ,
138
138
document : "name:\n # under-name-comment\n - first-array-child" ,
139
139
expression : `.name[0] | headComment` ,
You can’t perform that action at this time.
0 commit comments