diff options
author | Araq <rumpf_a@web.de> | 2014-08-31 15:15:26 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-08-31 15:15:26 +0200 |
commit | 30823c1ce3992d48251069af48ed9d26b1238ba4 (patch) | |
tree | e674b8a26785a8b02c321c4d991de974d02477c4 /tests/procvar | |
parent | 3ba34f1762742682a54dfdc30986818b5c1ecd81 (diff) | |
download | Nim-30823c1ce3992d48251069af48ed9d26b1238ba4.tar.gz |
make tests green
Diffstat (limited to 'tests/procvar')
-rw-r--r-- | tests/procvar/tprocvars.nim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/procvar/tprocvars.nim b/tests/procvar/tprocvars.nim index dc7592526..50d5d29f2 100644 --- a/tests/procvar/tprocvars.nim +++ b/tests/procvar/tprocvars.nim @@ -1,6 +1,6 @@ -proc doSomething(v: Int, x: proc(v:Int):Int): Int = return x(v) -proc doSomething(v: Int, x: proc(v:Int)) = x(v) +proc doSomething(v: int, x: proc(v:int):int): int = return x(v) +proc doSomething(v: int, x: proc(v:int)) = x(v) -echo doSomething(10, proc(v: Int): Int = return v div 2) +echo doSomething(10, proc(v: int): int = return v div 2) |