aboutsummaryrefslogtreecommitdiffhomepage
path: root/testdata/channel.txt
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2024-11-04 10:16:35 +0100
committerRon Evans <[email protected]>2024-12-06 11:55:34 +0100
commit31f72141561dafe3f0323599ca0307b34c3fc1da (patch)
treeebb50bdb3113581f995d075f02dd9eab1306efc0 /testdata/channel.txt
parent6faf36fc6420809d442aa7d0efdb5e3b524d0289 (diff)
downloadtinygo-31f72141561dafe3f0323599ca0307b34c3fc1da.tar.gz
tinygo-31f72141561dafe3f0323599ca0307b34c3fc1da.zip
test: make tests deterministic with -scheduler=threads
Diffstat (limited to 'testdata/channel.txt')
-rw-r--r--testdata/channel.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/testdata/channel.txt b/testdata/channel.txt
index bd3a4419d..44cda5ef7 100644
--- a/testdata/channel.txt
+++ b/testdata/channel.txt
@@ -12,9 +12,7 @@ received num: 8
recv from closed channel: 0 false
complex128: (+7.000000e+000+1.050000e+001i)
sum of n: 149
-sum: 25
-sum: 29
-sum: 33
+sum of sums: 87
sum(100): 4950
deadlocking
select no-op