Skip to content

Commit

Permalink
removed a subtle bug in the new testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Dec 15, 2024
1 parent 7983727 commit 54b12a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actix-cors/src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -695,8 +695,8 @@ mod test {

#[test]
fn impl_eq() {
assert_ne!(Cors::default(), Cors::default());
assert_eq!(Cors::default().send_wildcard(), Cors::default());
assert_ne!(Cors::default().send_wildcard(), Cors::default());
assert_ne!(Cors::default(), Cors::permissive());
}
}

0 comments on commit 54b12a6

Please sign in to comment.