Skip to content

Commit

Permalink
sam/alignment/record_buf/data/tests: Remove redundant test
Browse files Browse the repository at this point in the history
  • Loading branch information
zaeleus committed Jan 19, 2024
1 parent af9ccf4 commit 1188924
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions noodles-sam/src/alignment/record_buf/data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -408,23 +408,4 @@ mod tests {

assert!(data.is_empty());
}

#[test]
fn test_from_iterator() {
let actual: Data = [
(Tag::READ_GROUP, Value::from("rg0")),
(Tag::ALIGNMENT_HIT_COUNT, Value::from(1)),
]
.into_iter()
.collect();

let expected: Data = [
(Tag::READ_GROUP, Value::from("rg0")),
(Tag::ALIGNMENT_HIT_COUNT, Value::from(1)),
]
.into_iter()
.collect();

assert_eq!(expected, actual);
}
}

0 comments on commit 1188924

Please sign in to comment.