]> gitweb.factorcode.org Git - factor.git/commitdiff
YAML: don't test types on complex key test
authorJon Harper <jon.harper87@gmail.com>
Sat, 1 Mar 2014 14:46:33 +0000 (15:46 +0100)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sun, 27 Apr 2014 22:24:23 +0000 (15:24 -0700)
extra/yaml/yaml-tests.factor

index eb9cc8edb170311c27ed38290dd6b680e00400e3..bb1a401c29e66a70292a0e6ed7667628136c461f 100644 (file)
@@ -38,11 +38,11 @@ ${ test-represented-string } [ $ test-obj >yaml ] unit-test
 ${ test-represented-string } [ $ test-represented-string yaml> >yaml ] unit-test
 
 ! Non-scalar key
-CONSTANT: complex-key H{ { { "4" } "3" } }
+CONSTANT: complex-key H{ { { "foo" } "bar" } }
 CONSTANT: complex-key-represented """--- !!map
 ? !!seq
-- !!str 4
-: !!str 3
+- !!str foo
+: !!str bar
 ...
 """