From 1e80036fe31cec168e77dd83d0fa27f1f8281779 Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Tue, 21 Dec 2021 08:46:43 -0600 Subject: [PATCH] extra: Fix test/imports --- extra/python/syntax/syntax-tests.factor | 2 +- extra/webapps/wiki/wiki.factor | 23 ++++++----------------- 2 files changed, 7 insertions(+), 18 deletions(-) diff --git a/extra/python/syntax/syntax-tests.factor b/extra/python/syntax/syntax-tests.factor index 92728a8b54..af22e6ce21 100644 --- a/extra/python/syntax/syntax-tests.factor +++ b/extra/python/syntax/syntax-tests.factor @@ -107,7 +107,7 @@ PY-METHODS: code => ArgumentParser dup "--foo" >py H{ { "help" "badger" } } >py add_argument format_help py> - ] with-destructors [ blank? ] s:trim string-words "badger" swap in? + ] with-destructors [ blank? ] s:trim split-words "badger" swap in? ] py-test { t } [ diff --git a/extra/webapps/wiki/wiki.factor b/extra/webapps/wiki/wiki.factor index b7a1e9818d..41278e339d 100644 --- a/extra/webapps/wiki/wiki.factor +++ b/extra/webapps/wiki/wiki.factor @@ -1,22 +1,11 @@ ! Copyright (C) 2008 Slava Pestov ! See http://factorcode.org/license.txt for BSD license. -USING: accessors kernel hashtables calendar random assocs -namespaces make splitting sequences sorting math.order present -io.files io.directories io.encodings.ascii -syndication farkup -html.components html.forms -http.server -http.server.dispatchers -furnace.actions -furnace.utilities -furnace.recaptcha -furnace.redirection -furnace.auth -furnace.auth.login -furnace.boilerplate -furnace.syndication -validators -db.types db.tuples lcs urls ; +USING: accessors calendar db.tuples db.types farkup +furnace.actions furnace.auth furnace.boilerplate +furnace.recaptcha furnace.redirection furnace.syndication +furnace.utilities html.forms http.server.dispatchers kernel lcs +make namespaces present random sequences sorting splitting urls +validators ; IN: webapps.wiki : wiki-url ( rest path -- url ) -- 2.34.1