Fix if-then-else example formatting

This commit is contained in:
Nicolas Williams authored and Nico Williams committed 2019-02-20 20:03:26 -06:00
1 parent 8a02b2c9c1
commit 048acee39b
1 file changed
+2 -3
+2 -3
View File
@@ -2062,14 +2062,13 @@ sections:
More cases can be added to an if using `elif A then B` syntax. More cases can be added to an if using `elif A then B` syntax.
examples: examples:
- program: |- - program: 'if . == 0 then
if . == 0 then
"zero" "zero"
elif . == 1 then elif . == 1 then
"one" "one"
else else
"many" "many"
end end'
input: 2 input: 2
output: ['"many"'] output: ['"many"']