From 964afd30508c40f2a415d96d7bcdcabfeb26ae52 Mon Sep 17 00:00:00 2001 From: Matt Haggard Date: Wed, 5 Oct 2022 20:14:22 -0400 Subject: Make output assertion deterministic for test for #7172 (#20495) Co-authored-by: Clay Sweetser --- tests/threads/t7172.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/threads/t7172.nim b/tests/threads/t7172.nim index 983765dba..18fbe336e 100644 --- a/tests/threads/t7172.nim +++ b/tests/threads/t7172.nim @@ -2,8 +2,8 @@ discard """ output: ''' In doStuff() In initProcess() -initProcess() done TEST +initProcess() done Crashes before getting here! ''' joinable: false @@ -18,8 +18,8 @@ proc initProcess(): void = echo("In initProcess()") var thread: Thread[void] createThread(thread, whatever) - echo("initProcess() done") joinThread(thread) + echo("initProcess() done") proc doStuff(): void = echo("In doStuff()") -- cgit 1.4.1-2-gfad0 A parallel world, population: one soul
about summary refs log blame commit diff stats
blob: e6b59a50c56b670f16fa504f41b114f3ebbb9ab0 (plain) (tree)