From 820923ae88b91b54f59b3362a715e0e46a1ed3e8 Mon Sep 17 00:00:00 2001 From: Matthew Precious Date: Mon, 24 Feb 2025 22:13:47 -0500 Subject: [PATCH] Await result to address a flake --- .../com/mattprecious/stacker/test/command/RepoInitTest.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/commonTest/kotlin/com/mattprecious/stacker/test/command/RepoInitTest.kt b/src/commonTest/kotlin/com/mattprecious/stacker/test/command/RepoInitTest.kt index 245f850..d4a24c8 100644 --- a/src/commonTest/kotlin/com/mattprecious/stacker/test/command/RepoInitTest.kt +++ b/src/commonTest/kotlin/com/mattprecious/stacker/test/command/RepoInitTest.kt @@ -226,6 +226,8 @@ class RepoInitTest { static = "Do you use a trailing-trunk workflow? [y/N]: ", output = "", ) + + assertThat(awaitResult()).isTrue() } withDatabase {