Skip to content

Commit

Permalink
Merge pull request #1629 from g3rwy/master
Browse files Browse the repository at this point in the history
Fix minor error in 'var' example
  • Loading branch information
drkameleon authored May 18, 2024
2 parents 2878e59 + 879520c commit 2f083a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/library/Core.nim
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ proc defineLibrary*() =
print "good, the number is positive indeed. let's continue..."
..........
ensure.message: "Wrong calc" -> 0 = 1 + 1
ensure.that: "Wrong calc" -> 0 = 1 + 1
; >> Assertion | "Wrong calc": [0 = 1 + 1]
; error |
""":
Expand Down Expand Up @@ -1329,7 +1329,7 @@ proc defineLibrary*() =
returns = {Any},
example = """
a: 2
print var 'a ; a
print var 'a ; 2
f: function [x][x+2]
print f 10 ; 12
Expand Down

0 comments on commit 2f083a1

Please sign in to comment.