Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixup to support Factor 0.99 #44

Merged
merged 1 commit into from
Jan 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion tools/testest/testest.factor
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

USING: accessors arrays classes classes.error continuations debugger formatting fry inspector
io io.streams.string io.styles kernel locals math namespaces parser prettyprint prettyprint.backend
prettyprint.config prettyprint.custom quotations sequences splitting system ;
prettyprint.config prettyprint.custom prettyprint.sections quotations sequences splitting system ;
IN: tools.testest

: describe#{ ( description -- starttime ) nl "<DESCRIBE::>%s" printf nl flush nano-count ;
Expand Down Expand Up @@ -59,6 +59,10 @@ SYNTAX: <{ \ -> parse-until >quotation suffix! \ }> parse-until >quotation suffi

: pprint-unlimited ( obj -- ) [ pprint ] without-limits ;

! signature changed from ( obj -- str ) in 0.98 to ( obj -- ) in 0.99, use 0.98's definition
: error-in-pprint ( obj -- str )
class-of name>> "~pprint error: " "~" surround ;

: seq. ( seq -- )
[
[ nl pprint-unlimited ]
Expand Down
Loading