From be5fde9e546fa625059b7c305efc62bcdae0115f Mon Sep 17 00:00:00 2001 From: "David Adam (zanchey)" Date: Mon, 5 Nov 2012 09:38:42 +0800 Subject: [PATCH] test documentation - format examples properly --- doc_src/test.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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