Added another test proving do_the_walk is now generic

This commit is contained in:
Tom Alexander 2020-04-11 21:13:21 -04:00
parent 54e6613f14
commit d89d3d9f3c
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -152,5 +152,6 @@ mod tests {
.cloned() .cloned()
.collect(); .collect();
assert_eq!(do_the_walk(&context, "cat"), &"kitty"); assert_eq!(do_the_walk(&context, "cat"), &"kitty");
assert_eq!(do_the_walk(&number_context, "tiger"), &3);
} }
} }