From 24afb186f8f4f79c930cab6553e268e6de9c3fca Mon Sep 17 00:00:00 2001 From: Martin Kustermann Date: Mon, 4 Nov 2024 11:40:43 +0100 Subject: [PATCH] update test to be more robust --- .../test/build_runner/build_runner_failure_test.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/native_assets_builder/test/build_runner/build_runner_failure_test.dart b/pkgs/native_assets_builder/test/build_runner/build_runner_failure_test.dart index ce1130ba5..b15331721 100644 --- a/pkgs/native_assets_builder/test/build_runner/build_runner_failure_test.dart +++ b/pkgs/native_assets_builder/test/build_runner/build_runner_failure_test.dart @@ -66,7 +66,7 @@ void main() async { expect(fullLog, contains('To reproduce run:')); final reproCommand = fullLog .split('\n') - .skipWhile((l) => l != 'To reproduce run:') + .skipWhile((l) => !l.contains('To reproduce run:')) .skip(1) .first; final reproResult =