Skip to content

Commit

Permalink
chore: swap test names
Browse files Browse the repository at this point in the history
  • Loading branch information
sebcrozet committed Sep 30, 2023
1 parent 666b0fd commit b39bd09
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nalgebra-sparse/tests/unit_tests/coo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@ fn coo_try_from_triplets_reports_out_of_bounds_indices() {
}

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

#[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
macro_rules! assert_errs {
($result:expr) => {
Expand Down

0 comments on commit b39bd09

Please sign in to comment.