fix: false positive for ParentMissing
This commit is contained in:
parent
f51a763ca3
commit
1612a7d83d
|
@ -370,7 +370,7 @@ pub mod tests {
|
|||
.get(¬_a_parent)
|
||||
.ok_or(Error::ParentMissing(not_a_parent))
|
||||
{
|
||||
Ok(_) => (),
|
||||
Ok(_) => panic!("Parent should not be related to this branch"),
|
||||
Err(e) => {
|
||||
assert_ne!(e, Error::ParentMissing(parent));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue