done, kinda hacky solution but it works

This commit is contained in:
David Bittner
2019-04-26 20:01:34 -04:00
parent c2b8f5ed57
commit 3ef51ec9e0
2 changed files with 23 additions and 8 deletions

View File

@@ -35,8 +35,7 @@ fn test_reset_mode() {
fn test_parser_iterator() {
let parse_str = "Hello, world? How are \x27[=7lyou? I hope you're doing well.";
let strings: Vec<Output> = iterate_on(parse_str.as_bytes())
.take(2)
let strings: Vec<Output> = iterate_on(parse_str)
.collect();
println!("{:#?}", strings);