summaryrefslogtreecommitdiffhomepage
path: root/nim.html.markdown
diff options
context:
space:
mode:
authorCameron Schermerhorn <Cameron.Schermerhorn@its.ny.gov>2015-10-09 13:30:07 -0400
committerCameron Schermerhorn <Cameron.Schermerhorn@its.ny.gov>2015-10-09 13:30:07 -0400
commitd2010c08604c25b3166977e0cde795732ecde551 (patch)
treed4d6d72b9364e85decc55770e1f451f479321b67 /nim.html.markdown
parentbf7d33037f64ea9f80f106a37929e3fdf20bd24d (diff)
parentea943b61fbee8fb0ba34f88b4d0380400e890f30 (diff)
Merge remote-tracking branch 'refs/remotes/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...")