Skip to content

Commit 5e550cc

Browse files
build: Update Strum to Latest Version (#37)
* Update Strum to Latest Version Currently is < 0.24, but figure we'll need to cross that bridge eventually. * Temp commit * Update Cargo.toml Co-authored-by: Adam Azarchs <[email protected]> Co-authored-by: Adam Azarchs <[email protected]>
1 parent d78b8ca commit 5e550cc

File tree

3 files changed

+16
-14
lines changed

3 files changed

+16
-14
lines changed

Cargo.lock

Lines changed: 4 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ regex = "1.0"
2323
lazy_static = "1.1"
2424
derive-new = "0.5"
2525
petgraph = { version = ">=0.5,<0.7", optional = true }
26-
strum_macros = ">=0.20, <0.24"
26+
strum_macros = ">=0.20, <0.25"

src/annot/contig.rs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,17 @@ mod tests {
467467
};
468468
}
469469

470+
#[test]
471+
fn test_display_fmt() {
472+
let tma19 = Contig::new(
473+
"chrXI".to_owned(),
474+
334412,
475+
334916 - 334412,
476+
ReqStrand::Reverse,
477+
);
478+
assert_eq!(format!("{}", tma19), "chrXI:334412-334916(-)");
479+
}
480+
470481
#[test]
471482
fn intersection() {
472483
test_contig_ixn(

0 commit comments

Comments
 (0)