Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix asserts with time units #1243

Merged
merged 1 commit into from
Apr 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions extensions/scarb-cairo-run/tests/arguments.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ fn array_instead_of_felt() {
#[cfg(windows)]
snapbox.stdout_matches(indoc! {r#"
Compiling hello v0.1.0 ([..]Scarb.toml)
Finished release target(s) in [..] seconds
Finished release target(s) in [..]
Running hello
error: failed to run the function

Expand All @@ -105,7 +105,7 @@ fn array_instead_of_felt() {
#[cfg(not(windows))]
snapbox.stdout_matches(indoc! {r#"
Compiling hello v0.1.0 ([..]Scarb.toml)
Finished release target(s) in [..] seconds
Finished release target(s) in [..]
Running hello
error: failed to run the function

Expand Down Expand Up @@ -238,7 +238,7 @@ fn invalid_struct_deserialization() {
#[cfg(windows)]
snapbox.stdout_matches(indoc! {r#"
Compiling hello v0.1.0 ([..]Scarb.toml)
Finished release target(s) in [..] seconds
Finished release target(s) in [..]
Running hello
error: failed to run the function

Expand All @@ -249,7 +249,7 @@ fn invalid_struct_deserialization() {
#[cfg(not(windows))]
snapbox.stdout_matches(indoc! {r#"
Compiling hello v0.1.0 ([..]Scarb.toml)
Finished release target(s) in [..] seconds
Finished release target(s) in [..]
Running hello
error: failed to run the function

Expand Down
4 changes: 2 additions & 2 deletions extensions/scarb-cairo-run/tests/examples.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,15 +128,15 @@ fn can_disable_gas() {
#[cfg(windows)]
snapbox.stdout_matches(indoc! {r#"
Compiling hello_world v0.1.0 ([..]Scarb.toml)
Finished release target(s) in [..] seconds
Finished release target(s) in [..]
Running hello_world
error: program requires gas counter, please provide `--available-gas` argument
error: process did not exit successfully: exit code: 1
"#});
#[cfg(not(windows))]
snapbox.stdout_matches(indoc! {r#"
Compiling hello_world v0.1.0 ([..]Scarb.toml)
Finished release target(s) in [..] seconds
Finished release target(s) in [..]
Running hello_world
error: program requires gas counter, please provide `--available-gas` argument
"#});
Expand Down
2 changes: 1 addition & 1 deletion scarb/tests/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,7 @@ fn warnings_allowed_by_default() {
let a = 41;
^

Finished release target(s) in [..] seconds
Finished release target(s) in [..]
"#});
}

Expand Down
Loading