Skip to content

Commit

Permalink
Make build tests not fail if they run too long
Browse files Browse the repository at this point in the history
  • Loading branch information
mkaput committed Aug 1, 2023
1 parent 194adbc commit f19b467
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scarb/tests/build_starknet_contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ fn compile_dep_test_case(hello: &ChildPath, world: &ChildPath, target_extra: &st
.success()
.stdout_matches(indoc! {r#"
[..] Compiling world v0.1.0 ([..]/Scarb.toml)
[..] Finished release target(s) in [..] seconds
[..] Finished release target(s) in [..]
"#});
}

Expand Down
4 changes: 2 additions & 2 deletions scarb/tests/build_starknet_external_contracts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ fn compile_dep_test_case(hello: &ChildPath, world: &ChildPath, target_extra: &st
.success()
.stdout_matches(indoc! {r#"
[..] Compiling world v0.1.0 ([..]/Scarb.toml)
[..] Finished release target(s) in [..] seconds
[..] Finished release target(s) in [..]
"#});
}

Expand Down Expand Up @@ -221,7 +221,7 @@ fn build_external_full_path() {
.success()
.stdout_matches(indoc! {r#"
[..] Compiling world v0.1.0 ([..]/Scarb.toml)
[..] Finished release target(s) in [..] seconds
[..] Finished release target(s) in [..]
"#});
assert_eq!(
world.child("target/dev").files(),
Expand Down

0 comments on commit f19b467

Please sign in to comment.