]> gitweb.factorcode.org Git - factor.git/commitdiff
help.markup: fix tests for $code
authorJohn Benediktsson <mrjbq7@gmail.com>
Fri, 18 Aug 2023 00:01:58 +0000 (17:01 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Fri, 18 Aug 2023 00:01:58 +0000 (17:01 -0700)
basis/help/markup/markup-tests.factor

index 98afe959fd89945009a5351326665abd645706d4..d5ceccaae2b8689187c50689003863436f4cf58d 100644 (file)
@@ -44,19 +44,19 @@ TUPLE: blahblah quux ;
 { "\nspan" }
 [ [ { { $nl } "span" } print-content ] with-markup-test ] unit-test
 
-{ "2 2 +\n\nspan" }
+{ "2 2 +\nspan" }
 [ [ { { $code "2 2 +" } "span" } print-content ] with-markup-test ] unit-test
 
-{ "2 2 +\n\n" }
+{ "2 2 +" }
 [ [ { { $code "2 2 +" } } print-content ] with-markup-test ] unit-test
 
-{ "span\n2 2 +\n\n" }
+{ "span\n2 2 +" }
 [ [ { "span" { $code "2 2 +" } } print-content ] with-markup-test ] unit-test
 
-{ "\n2 2 +\n\n" }
+{ "\n2 2 +" }
 [ [ { { $nl } { $code "2 2 +" } } print-content ] with-markup-test ] unit-test
 
-{ "span\n\n2 2 +\n\n" }
+{ "span\n\n2 2 +" }
 [ [ { "span" { $nl } { $code "2 2 +" } } print-content ] with-markup-test ] unit-test
 
 { "Heading" }