chore: swap test names

This commit is contained in:
Sébastien Crozet 2023-09-30 17:55:04 +02:00
parent 666b0fd2de
commit b39bd09eaa

View File

@ -185,8 +185,8 @@ fn coo_try_from_triplets_reports_out_of_bounds_indices() {
} }
#[test] #[test]
fn coo_try_from_triplets_panics_on_mismatched_vectors() { fn coo_try_from_triplets_iter() {
// Check that try_from_triplets panics when the triplet vectors have different lengths // Check that try_from_triplets_iter panics when the triplet vectors have different lengths
macro_rules! assert_errs { macro_rules! assert_errs {
($result:expr) => { ($result:expr) => {
assert!(matches!( assert!(matches!(
@ -210,7 +210,7 @@ fn coo_try_from_triplets_panics_on_mismatched_vectors() {
} }
#[test] #[test]
fn coo_try_from_triplets_iter() { fn coo_try_from_triplets_panics_on_mismatched_vectors() {
// Check that try_from_triplets panics when the triplet vectors have different lengths // Check that try_from_triplets panics when the triplet vectors have different lengths
macro_rules! assert_errs { macro_rules! assert_errs {
($result:expr) => { ($result:expr) => {