diff options
author | Arne Döring <arne.doering@gmx.net> | 2018-12-05 19:03:01 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2018-12-11 21:23:22 +0100 |
commit | a5ecbf823f178c2800d40bcff562bc4eca0f2030 (patch) | |
tree | 50c3812eaa7a1100c30623755263d4ef35dd1c3b /tests/parallel | |
parent | c0c35839cc65717283edda72ce34579b992563ca (diff) | |
download | Nim-a5ecbf823f178c2800d40bcff562bc4eca0f2030.tar.gz |
lots of small changes
Diffstat (limited to 'tests/parallel')
-rw-r--r-- | tests/parallel/tarray_of_channels.nim | 2 | ||||
-rw-r--r-- | tests/parallel/tgc_unsafe.nim | 2 | ||||
-rw-r--r-- | tests/parallel/tgc_unsafe2.nim | 2 | ||||
-rw-r--r-- | tests/parallel/tmissing_deepcopy.nim | 2 | ||||
-rw-r--r-- | tests/parallel/tsimple_array_checks.nim | 2 | ||||
-rw-r--r-- | tests/parallel/twrong_refcounts.nim | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/tests/parallel/tarray_of_channels.nim b/tests/parallel/tarray_of_channels.nim index e2a682bd5..5139920ea 100644 --- a/tests/parallel/tarray_of_channels.nim +++ b/tests/parallel/tarray_of_channels.nim @@ -34,5 +34,5 @@ proc main = sync() for ix in 1..3: channels[ix].close() -when isMainModule: +when true: main() diff --git a/tests/parallel/tgc_unsafe.nim b/tests/parallel/tgc_unsafe.nim index a4d96cd73..baf0dc24a 100644 --- a/tests/parallel/tgc_unsafe.nim +++ b/tests/parallel/tgc_unsafe.nim @@ -28,5 +28,5 @@ proc main = sync() for ix in 1..3: channels[ix].close() -when isMainModule: +when true: main() diff --git a/tests/parallel/tgc_unsafe2.nim b/tests/parallel/tgc_unsafe2.nim index 0a56a23aa..40af728fb 100644 --- a/tests/parallel/tgc_unsafe2.nim +++ b/tests/parallel/tgc_unsafe2.nim @@ -35,5 +35,5 @@ proc main = sync() for ix in 1..3: channels[ix].close() -when isMainModule: +when true: main() diff --git a/tests/parallel/tmissing_deepcopy.nim b/tests/parallel/tmissing_deepcopy.nim index 45fdf0f8f..694eb77db 100644 --- a/tests/parallel/tmissing_deepcopy.nim +++ b/tests/parallel/tmissing_deepcopy.nim @@ -36,6 +36,6 @@ proc update = for i in 0 .. people.high: spawn people[i].greet() -when isMainModule: +when true: setup() update() diff --git a/tests/parallel/tsimple_array_checks.nim b/tests/parallel/tsimple_array_checks.nim index ee9508074..5d6e87efe 100644 --- a/tests/parallel/tsimple_array_checks.nim +++ b/tests/parallel/tsimple_array_checks.nim @@ -59,5 +59,5 @@ proc maino = maino() # Doesn't work outside a proc -when isMainModule: +when true: main() diff --git a/tests/parallel/twrong_refcounts.nim b/tests/parallel/twrong_refcounts.nim index 57e0588a0..ac428762d 100644 --- a/tests/parallel/twrong_refcounts.nim +++ b/tests/parallel/twrong_refcounts.nim @@ -48,6 +48,6 @@ proc update = # --- -when isMainModule: +when true: setup() update() |