Skip to content

Commit

Permalink
Fix ci after rust update (#1291)
Browse files Browse the repository at this point in the history
  • Loading branch information
maciektr committed Jun 11, 2024
1 parent 4294a01 commit 86c33a0
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions scarb/tests/build_cairo_plugin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,10 @@ fn compile_cairo_plugin() {
assert_matches(r#"[..] Finished release target(s) in [..]"#, last);
let (last, _lines) = lines.split_last().unwrap();
// Line from Cargo output
assert_matches(r#"[..]Finished release [optimized] target(s) in[..]"#, last);
assert_matches(
r#"[..]Finished `release` profile [optimized] target(s) in[..]"#,
last,
);
}

#[test]
Expand All @@ -154,7 +157,10 @@ fn check_cairo_plugin() {
assert_matches(r#"[..] Finished checking release target(s) in [..]"#, last);
let (last, _lines) = lines.split_last().unwrap();
// Line from Cargo output
assert_matches(r#"[..]Finished release [optimized] target(s) in[..]"#, last);
assert_matches(
r#"[..]Finished `release` profile [optimized] target(s) in[..]"#,
last,
);
}

#[test]
Expand Down

0 comments on commit 86c33a0

Please sign in to comment.