]> gitweb.factorcode.org Git - factor.git/commitdiff
json.reader: fix for rename.
authorJohn Benediktsson <mrjbq7@gmail.com>
Sun, 13 Dec 2020 20:10:31 +0000 (12:10 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sun, 13 Dec 2020 20:10:31 +0000 (12:10 -0800)
basis/json/reader/reader-tests.factor

index e86b689e1bd9b557f23d88f64618f419f5f434fb..642c76674e84888a79687fc3a759abd4d21cba8a 100644 (file)
@@ -63,7 +63,7 @@ ${ { 0xabcd } >string } [ " \"\\uaBCd\" " json> ] unit-test
 { 0 } [ "   0   " json> ] unit-test
 
 { V{ H{ { "a" "b" } } H{ { "c" "d" } } } }
-[ "{\"a\": \"b\"} {\"c\": \"d\"}" [ read-json-objects ] with-string-reader ] unit-test
+[ "{\"a\": \"b\"} {\"c\": \"d\"}" [ read-json ] with-string-reader ] unit-test
 
 ! empty objects are allowed as values in objects
 { H{ { "foo" H{ } } } } [ "{ \"foo\" : {}}" json> ] unit-test