From 547292fc9616cb1bd71503c12e8d15326c786db7 Mon Sep 17 00:00:00 2001 From: Pascal Welsch Date: Fri, 29 Sep 2023 14:22:01 +0200 Subject: [PATCH] Compare full text, not full lines --- sidekick/test/init_test.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sidekick/test/init_test.dart b/sidekick/test/init_test.dart index 83771a1b..054eb68c 100644 --- a/sidekick/test/init_test.dart +++ b/sidekick/test/init_test.dart @@ -217,7 +217,7 @@ void main() { ); await process.shouldExit(255); - final stderrText = await process.stderr.rest.toList(); + final stderrText = (await process.stderr.rest.toList()).join('\n'); expect( stderrText, contains(