mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-29 10:31:14 -03:00
test documentation - format examples properly
This commit is contained in:
committed by
ridiculousfish
parent
abfc7e16a1
commit
be5fde9e54
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user