Skip to content

Commit

Permalink
we have a failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
molpopgen committed Nov 6, 2022
1 parent 974ad31 commit 216a1c5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,14 @@ mod test {
panic!();
}
}

#[test]
fn test_anyhow_compatability() {
fn foo() -> anyhow::Result<crate::TableCollection> {
let tables = crate::TableCollection::new(1.0)?;
Ok(tables)
}

let t = foo().unwrap();
}
}

0 comments on commit 216a1c5

Please sign in to comment.