From fff6b526a02cee8f2bbb1c1d65b7aa87cc666f5f Mon Sep 17 00:00:00 2001 From: Rexios Date: Sun, 1 Dec 2024 16:05:01 -0500 Subject: [PATCH] ... --- test/test_utils.dart | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/test_utils.dart b/test/test_utils.dart index 3b35a25..5c081a6 100644 --- a/test/test_utils.dart +++ b/test/test_utils.dart @@ -33,11 +33,14 @@ Future testCommand( final puby = File(path.join('bin', 'puby.dart')).absolute.path; if (link) { - await Process.run( + final result = await Process.run( 'dart', [puby, 'link'], workingDirectory: workingDirectory, ); + if (result.exitCode != 0) { + throw Exception(result.stderr); + } } final process = await Process.start(