Show More
@@ -684,7 +684,10 b' mod tests {' | |||||
684 | assert_eq!(revlog.len(), 0); |
|
684 | assert_eq!(revlog.len(), 0); | |
685 | assert!(revlog.get_entry(0).is_err()); |
|
685 | assert!(revlog.get_entry(0).is_err()); | |
686 | assert!(!revlog.has_rev(0)); |
|
686 | assert!(!revlog.has_rev(0)); | |
687 | assert_eq!(revlog.rev_from_node(NULL_NODE.into()).unwrap(), -1); |
|
687 | assert_eq!( | |
|
688 | revlog.rev_from_node(NULL_NODE.into()).unwrap(), | |||
|
689 | NULL_REVISION | |||
|
690 | ); | |||
688 | } |
|
691 | } | |
689 |
|
692 | |||
690 | #[test] |
|
693 | #[test] |
General Comments 0
You need to be logged in to leave comments.
Login now