Skip to content

Commit

Permalink
Merge pull request #44 from nomennescio/master
Browse files Browse the repository at this point in the history
Fixup to support Factor 0.99
  • Loading branch information
nomennescio authored Jan 20, 2024
2 parents 067c814 + 9d8f8cc commit c64f35f
Showing 1 changed file with 5 additions and 1 deletion.
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

0 comments on commit c64f35f

Please sign in to comment.