aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/test.txt
diff options
context:
space:
mode:
authorGravatar David Adam (zanchey) <zanchey@ucc.gu.uwa.edu.au>2012-11-05 09:38:42 +0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-11-08 10:08:06 -0800
commitbe5fde9e546fa625059b7c305efc62bcdae0115f (patch)
tree35612885ee5b4ea164727389d9b4884dd702df86 /doc_src/test.txt
parentabfc7e16a137196c921e16a1fe3a93fa7ee05439 (diff)
test documentation - format examples properly
Diffstat (limited to 'doc_src/test.txt')
-rw-r--r--doc_src/test.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc_src/test.txt b/doc_src/test.txt
index bd50e46e..f778908f 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
-<tt>
- if test -d "/"
- echo "Fish is cool";
- end
-</tt>
+<pre>
+ if test -d "/"
+ echo "Fish is cool"
+ end
+</pre>
Because "/" is a directory the expression will evaluate
to true, and "Fish is cool" will be echoed