File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ fn build_wasm(_arg: &str) -> Result<()> {
7676
7777fn run_tests ( arg : & str ) -> Result < ( ) > {
7878 println ! ( "installing nextest" ) ;
79- install_nextest ( ) ;
79+ install_nextest ( ) ? ;
8080 println ! ( "running nextest run" ) ;
8181 run_cargo ( & [ "nextest" , "run" , arg] ) ?;
8282
@@ -85,7 +85,7 @@ fn run_tests(arg: &str) -> Result<()> {
8585
8686fn run_tests_encryption ( arg : & str ) -> Result < ( ) > {
8787 println ! ( "installing nextest" ) ;
88- install_nextest ( ) ;
88+ install_nextest ( ) ? ;
8989 println ! ( "running nextest run" ) ;
9090 run_cargo ( & [
9191 "nextest" ,
@@ -103,7 +103,6 @@ fn run_tests_encryption(arg: &str) -> Result<()> {
103103 Ok ( ( ) )
104104}
105105
106-
107106fn sim_tests ( arg : & str ) -> Result < ( ) > {
108107 run_cargo ( & [ "test" , "--test" , "tests" , arg] ) ?;
109108
@@ -169,7 +168,11 @@ fn run_cp(cmd: &[&str]) -> Result<()> {
169168 Ok ( ( ) )
170169}
171170
172- fn install_nextest ( ) {
173- run_cargo ( & [ "install" , "--force" , "cargo-nextest@0.9.88" , "--no-default-features" ] ) ?;
174-
171+ fn install_nextest ( ) -> Result < ( ) > {
172+ run_cargo ( & [
173+ "install" ,
174+ "--force" ,
175+ "cargo-nextest@0.9.88" ,
176+ "--no-default-features" ,
177+ ] ) ?;
175178}
You can’t perform that action at this time.
0 commit comments