File tree Expand file tree Collapse file tree 3 files changed +21
-19
lines changed
Expand file tree Collapse file tree 3 files changed +21
-19
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,8 @@ function resolveBlockMapItems(doc, cst) {
150150 if ( typeof item . range . origStart === 'number' ) {
151151 const origPos = item . range . origStart + 1
152152 valueNode . range . origStart = valueNode . range . origEnd = origPos
153- valueNode . valueRange . origStart = valueNode . valueRange . origEnd = origPos
153+ valueNode . valueRange . origStart = valueNode . valueRange . origEnd =
154+ origPos
154155 }
155156 }
156157 const pair = new Pair ( key , resolveNode ( doc , valueNode ) )
Original file line number Diff line number Diff line change @@ -527,28 +527,29 @@ rbi:
527527 ]
528528 } ,
529529
530- 'Example 2.15. Folded newlines are preserved for "more indented" and blank lines' : {
531- src : `>
530+ 'Example 2.15. Folded newlines are preserved for "more indented" and blank lines' :
531+ {
532+ src : `>
532533 Sammy Sosa completed another
533534 fine season with great stats.
534535
535536 63 Home Runs
536537 0.288 Batting Average
537538
538539 What a year!` ,
539- tgt : [
540- {
541- contents : [
542- `Sammy Sosa completed another fine season with great stats.
540+ tgt : [
541+ {
542+ contents : [
543+ `Sammy Sosa completed another fine season with great stats.
543544
544545 63 Home Runs
545546 0.288 Batting Average
546547
547548What a year!\n`
548- ]
549- }
550- ]
551- } ,
549+ ]
550+ }
551+ ]
552+ } ,
552553
553554 'Example 2.16. Indentation determines scope' : {
554555 src : `name: Mark McGwire
@@ -1109,8 +1110,7 @@ comments:
11091110 'comments' ,
11101111 {
11111112 type : Type . MAP_VALUE ,
1112- node :
1113- 'Late afternoon is best. Backup contact is Nancy Billsmer @ 338-4338.'
1113+ node : 'Late afternoon is best. Backup contact is Nancy Billsmer @ 338-4338.'
11141114 }
11151115 ]
11161116 }
Original file line number Diff line number Diff line change @@ -243,24 +243,25 @@ rbi:
243243 tgt : [ "Mark McGwire's year was crippled by a knee injury.\n" ]
244244 } ,
245245
246- 'Example 2.15. Folded newlines are preserved for "more indented" and blank lines' : {
247- src : `>
246+ 'Example 2.15. Folded newlines are preserved for "more indented" and blank lines' :
247+ {
248+ src : `>
248249 Sammy Sosa completed another
249250 fine season with great stats.
250251
251252 63 Home Runs
252253 0.288 Batting Average
253254
254255 What a year!` ,
255- tgt : [
256- `Sammy Sosa completed another fine season with great stats.
256+ tgt : [
257+ `Sammy Sosa completed another fine season with great stats.
257258
258259 63 Home Runs
259260 0.288 Batting Average
260261
261262What a year!\n`
262- ]
263- } ,
263+ ]
264+ } ,
264265
265266 'Example 2.16. Indentation determines scope' : {
266267 src : `name: Mark McGwire
You can’t perform that action at this time.
0 commit comments