summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Oliver Nutter <headius@headius.com>2023-01-18 11:32:47 -0600
committerCharles Oliver Nutter <headius@headius.com>2023-01-18 11:32:47 -0600
commitf44269fc9b25090b29be6c506505118797805aad (patch)
treea243c7b6e7fa89874223a4a0d8ef501ffc260431
parent63428e345c6255a37a59c258dc0b7d1269ccf5f5 (diff)
downloadpsych-f44269fc9b25090b29be6c506505118797805aad.tar.gz
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.
-rw-r--r--test/psych/test_yaml.rb32
1 files changed, 16 insertions, 16 deletions
diff --git a/test/psych/test_yaml.rb b/test/psych/test_yaml.rb
index 32dd43b..cedec46 100644
--- a/test/psych/test_yaml.rb
+++ b/test/psych/test_yaml.rb
@@ -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: MADF
- *c: AUD
- *d: SYD
- *a: MEL
-
-- *f: DFSF
- *c: USD
- *d: JFK
- *a: MCO
+- *f : DOGMA
+ *c : GBP
+ *d : LAX
+ *a : EDI
+
+- *f : MADF
+ *c : AUD
+ *d : SYD
+ *a : MEL
+
+- *f : DFSF
+ *c : USD
+ *d : JFK
+ *a : MCO
EOY
)