[ruby/psych] Update for stricter 1.2 syntax

This allows these tests to pass on SnakeYAML Engine -- which is a
1.2-only YAML library -- while still passing on libyaml 1.1.

https://github.com/ruby/psych/commit/f44269fc9b
This commit is contained in:
Charles Oliver Nutter 2023-01-18 11:32:47 -06:00 committed by Hiroshi SHIBATA
parent b0b61623ad
commit 29133794a3
No known key found for this signature in database
GPG Key ID: F9CF13417264FAC2

View File

@ -223,8 +223,8 @@ EOY
&C currency: GBP
&D departure: LAX
&A arrival: EDI
- { *F: MADF, *C: AUD, *D: SYD, *A: MEL }
- { *F: DFSF, *C: USD, *D: JFK, *A: MCO }
- { *F : MADF, *C : AUD, *D : SYD, *A : MEL }
- { *F : DFSF, *C : USD, *D : JFK, *A : MCO }
EOY
)
@ -233,20 +233,20 @@ EOY
---
ALIASES: [&f fareref, &c currency, &d departure, &a arrival]
FARES:
- *f: DOGMA
*c: GBP
*d: LAX
*a: EDI
- *f : DOGMA
*c : GBP
*d : LAX
*a : EDI
- *f: MADF
*c: AUD
*d: SYD
*a: MEL
- *f : MADF
*c : AUD
*d : SYD
*a : MEL
- *f: DFSF
*c: USD
*d: JFK
*a: MCO
- *f : DFSF
*c : USD
*d : JFK
*a : MCO
EOY
)