[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 &C currency: GBP
&D departure: LAX &D departure: LAX
&A arrival: EDI &A arrival: 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 EOY
) )
@ -233,20 +233,20 @@ EOY
--- ---
ALIASES: [&f fareref, &c currency, &d departure, &a arrival] ALIASES: [&f fareref, &c currency, &d departure, &a arrival]
FARES: FARES:
- *f: DOGMA - *f : DOGMA
*c: GBP *c : GBP
*d: LAX *d : LAX
*a: EDI *a : EDI
- *f: MADF - *f : MADF
*c: AUD *c : AUD
*d: SYD *d : SYD
*a: MEL *a : MEL
- *f: DFSF - *f : DFSF
*c: USD *c : USD
*d: JFK *d : JFK
*a: MCO *a : MCO
EOY EOY
) )