diff --git a/basis/prettyprint/prettyprint-tests.factor b/basis/prettyprint/prettyprint-tests.factor index 6ad883cfcb..9bffb34ed1 100755 --- a/basis/prettyprint/prettyprint-tests.factor +++ b/basis/prettyprint/prettyprint-tests.factor @@ -195,11 +195,11 @@ DEFER: parse-error-file : string-layout { - "USING: debugger io kernel lexer ;" + "USING: accessors debugger io kernel ;" "IN: prettyprint.tests" ": string-layout-test ( error -- )" - " \"Expected \" write dup unexpected-want expected>string write" - " \" but got \" write unexpected-got expected>string print ;" + " \"Expected \" write dup want>> expected>string write" + " \" but got \" write got>> expected>string print ;" } ; diff --git a/basis/prettyprint/sections/sections.factor b/basis/prettyprint/sections/sections.factor index 168e118d4b..aed476b5c6 100644 --- a/basis/prettyprint/sections/sections.factor +++ b/basis/prettyprint/sections/sections.factor @@ -115,10 +115,10 @@ M: object short-section? section-fits? ; : pprint-section ( section -- ) dup short-section? [ - dup section-style [ short-section ] with-style + dup style>> [ short-section ] with-style ] [ [ > [ long-section ] with-style ] [ long-section> ] tri ] if ;