Browse Source

fix: return err on test result err (#2068)

Pierre 3 years ago
parent
commit
bd54c2b128
1 changed files with 2 additions and 1 deletions
  1. 2 1
      cli/src/lib.rs

+ 2 - 1
cli/src/lib.rs

@@ -2031,7 +2031,8 @@ fn run_test_suite(
             }
         }
         Err(err) => {
-            println!("Failed to run test: {:#}", err)
+            println!("Failed to run test: {:#}", err);
+            return Err(err);
         }
     }