summaryrefslogtreecommitdiffhomepage
path: root/nim.html.markdown
diff options
context:
space:
mode:
authorTodd M. Guerra <toddguerra@gmail.com>2015-10-09 11:14:29 -0400
committerTodd M. Guerra <toddguerra@gmail.com>2015-10-09 11:14:29 -0400
commitfc3c56ee938dbb7231127465b0e9ab5fa7f2da40 (patch)
tree444181fbb299567b566a038ab4241e31ca519a97 /nim.html.markdown
parent6d3f52b7f01409818853de6148abf1d8fe57fab0 (diff)
parentdcd9093d6467166a2946008c55f5e0582a15e20c (diff)
Merge remote-tracking branch 'adambard/master'
Conflicts: java.html.markdown
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...")