Skip to content
Snippets Groups Projects
Verified Commit 2fb6e4fa authored by David Mehren's avatar David Mehren
Browse files

[LOUDSTree] Test NoSuchChild in labeled_child

parent 91bffb5c
Branches
No related tags found
No related merge requests found
......@@ -516,6 +516,12 @@ mod tests {
louds_tree.labeled_child(4, String::from("leaf")).unwrap(),
7
);
assert_eq!(
louds_tree
.labeled_child(4, String::from("foobar"))
.unwrap_err(),
NodeError::NoSuchChildError
);
}
#[test]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment