summaryrefslogtreecommitdiffhomepage
path: root/nim.html.markdown
diff options
context:
space:
mode:
authorSean Corrales <scorrales@usft.com>2015-10-14 14:52:37 -0500
committerSean Corrales <scorrales@usft.com>2015-10-14 14:52:37 -0500
commitfcc5086cfcac4e1efc365c16617aaf7ff9d86f80 (patch)
treeda683653842a5ae37177d191a51833f58e0b9a41 /nim.html.markdown
parentc357be714fe39c8c97e4d1ac12b3cdfb673d1e1e (diff)
parent8ec133b29595b8dac963eafa63ab0c479e37a3c1 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'nim.html.markdown')
-rw-r--r--nim.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/nim.html.markdown b/nim.html.markdown
index c9548a1c..79271732 100644
--- a/nim.html.markdown
+++ b/nim.html.markdown
@@ -235,7 +235,7 @@ proc ask(question: string): Answer =
else: echo("Please be clear: yes or no")
proc addSugar(amount: int = 2) = # Default amount is 2, returns nothing
- assert(amount > 0 or amount < 9000, "Crazy Sugar")
+ assert(amount > 0 and amount < 9000, "Crazy Sugar")
for a in 1..amount:
echo(a, " sugar...")