Skip to content

Commit

Permalink
More "clippy" fixes.
Browse files Browse the repository at this point in the history
 Changes to be committed:
	modified:   crates/types/src/hybrid_compute.rs
  • Loading branch information
mmontour1306 committed Sep 27, 2024
1 parent ceae77e commit 729f7ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/types/src/hybrid_compute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -606,9 +606,9 @@ mod test {
let t_no = "0x5f41415f545249479c6df0d4c9d8f527221b59c66ad5279c16a1dbc221e8f4e33617575840a20013d516f1be1937bb52bbd7d525d996fd557d3d597f97e0d7ba00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001".parse::<Bytes>().unwrap();
let t_yes = "0x5f48435f545249479c6df0d4c9d8f527221b59c66ad5279c16a1dbc221e8f4e33617575840a20013d516f1be1937bb52bbd7d525d996fd557d3d597f97e0d7ba00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001".parse::<Bytes>().unwrap();
let t_short = "0x5f48435f545249479c6df0d4c9d8f527221b59c66ad5279c16a1dbc221e8f4e33617575840a20013d516f1be1937bb52bbd7d525d996fd557d3d597f97e0d7".parse::<Bytes>().unwrap();
assert_eq!(check_trigger(&t_no), false);
assert_eq!(check_trigger(&t_yes), true);
assert_eq!(check_trigger(&t_short), false);
assert!(!check_trigger(&t_no));
assert!(check_trigger(&t_yes));
assert!(!check_trigger(&t_short));
}

#[test]
Expand Down

0 comments on commit 729f7ef

Please sign in to comment.