Permalink
Browse files

help.tutorial: use array for test output

  • Loading branch information...
mohd-akram committed Aug 4, 2018
1 parent 6b97111 commit ab53893cfecd7b0b2c8eb98485a238d55fd744b1
Showing with 1 addition and 1 deletion.
  1. +1 −1 basis/help/tutorial/tutorial.factor
@@ -132,7 +132,7 @@ $nl
{ $unchecked-example "\"A man, a plan, a canal: Panama.\" palindrome? ." "f" }
$nl
"We would like it to output " { $link t } " there. We can encode this requirement with a unit test that we add to " { $snippet "palindrome-tests.factor" } ":"
{ $code "[ t ] [ \"A man, a plan, a canal: Panama.\" palindrome? ] unit-test" }
{ $code "{ t } [ \"A man, a plan, a canal: Panama.\" palindrome? ] unit-test" }
$nl
"If you now run unit tests, you will see a unit test failure:"
{ $code "\"palindrome\" test" }

0 comments on commit ab53893

Please sign in to comment.