]> gitweb.factorcode.org Git - factor.git/commitdiff
xml.errors: fix extra-attr to use an array.
authorJohn Benediktsson <mrjbq7@gmail.com>
Wed, 27 Mar 2013 17:04:58 +0000 (10:04 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Wed, 27 Mar 2013 17:04:58 +0000 (10:04 -0700)
basis/xml/errors/errors-tests.factor

index 10d7bb63ca5b6e0628008941cee884da1f79c83b..f28f26dfac06cc58dde711fd849b85858b8be9da 100644 (file)
@@ -13,7 +13,7 @@ T{ nonexist-ns f 1 5 "x" } "<x:y/>" xml-error-test
 T{ unopened f 1 4 } "</x>" xml-error-test
 T{ not-yes/no f 1 41 "maybe" }
     "<?xml version='1.0' standalone='maybe'?><x/>" xml-error-test
-T{ extra-attrs f 1 32 V{ T{ name f "" "foo" f } }
+T{ extra-attrs f 1 32 { T{ name f "" "foo" f } }
 } "<?xml version='1.1' foo='bar'?><x/>" xml-error-test
 T{ bad-version f 1 28 "5 million" }
     "<?xml version='5 million'?><x/>" xml-error-test