]> gitweb.factorcode.org Git - factor.git/commitdiff
html.parser.printer: updated test.
authorJohn Benediktsson <mrjbq7@gmail.com>
Sat, 12 Nov 2016 15:56:55 +0000 (07:56 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sat, 12 Nov 2016 15:56:55 +0000 (07:56 -0800)
extra/html/parser/printer/printer-tests.factor

index 3c91e9765de7f9a6ba2fb870896e11343be98a82..a2a049f277cf63a9dbd2add36cd4c927ce0a53c2 100644 (file)
@@ -9,7 +9,7 @@ IN: html.parser.printer.tests
 {
     "          "
 } [
-    [ 5 #indentations set 2 tab-width set tabs >string ] with-scope
+    5 #indentations [ [ indent ] with-string-writer ] with-variable
 ] unit-test
 
 {