Skip to content

Commit

Permalink
Fix CI failures (#5407)
Browse files Browse the repository at this point in the history
Fixes the RUSTSEC-2024-0399 issue with rustls and the errors in the
regression test
See:
https://rustsec.org/advisories/RUSTSEC-2024-0399.html
rustls/rustls#2227

This also fixes the cargo deny runs which are currently failing

* [x] I have followed the instructions in the PR template
  • Loading branch information
bircni authored Nov 26, 2024
1 parent 7cee35c commit 8854327
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3334,9 +3334,9 @@ dependencies = [

[[package]]
name = "rustls"
version = "0.23.16"
version = "0.23.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eee87ff5d9b36712a58574e12e9f0ea80f915a5b0ac518d322b24a465617925e"
checksum = "9c9cc1d47e243d655ace55ed38201c19ae02c148ae56412ab8750e8f0166ab7f"
dependencies = [
"log",
"once_cell",
Expand Down
6 changes: 3 additions & 3 deletions crates/egui/tests/regression_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@ pub fn focus_should_skip_over_disabled_buttons() {
harness.press_key(egui::Key::Tab);
harness.run();

let button_1 = harness.get_by_name("Button 1");
let button_1 = harness.get_by_label("Button 1");
assert!(button_1.is_focused());

harness.press_key(egui::Key::Tab);
harness.run();

let button_3 = harness.get_by_name("Button 3");
let button_3 = harness.get_by_label("Button 3");
assert!(button_3.is_focused());

harness.press_key(egui::Key::Tab);
harness.run();

let button_1 = harness.get_by_name("Button 1");
let button_1 = harness.get_by_label("Button 1");
assert!(button_1.is_focused());
}

0 comments on commit 8854327

Please sign in to comment.