Added another test proving do_the_walk is now generic
This commit is contained in:
parent
54e6613f14
commit
d89d3d9f3c
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user