diff --git a/doc_src/test.txt b/doc_src/test.txt index bd50e46e9..f778908f1 100644 --- a/doc_src/test.txt +++ b/doc_src/test.txt @@ -33,11 +33,11 @@ Tests the expression given and returns true or false. \subsection test-example Example - - if test -d "/" - echo "Fish is cool"; - end - +
+    if test -d "/"
+	echo "Fish is cool"
+    end
+
Because "/" is a directory the expression will evaluate to true, and "Fish is cool" will be echoed