Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add a regression test.
The bug shown in #251 has the same underlying cause as the bug in
#255, which has been fixed in a previous commit. This commit just adds
a more specific regression test for #251.

Fixes #251.
  • Loading branch information
BurntSushi committed Jul 9, 2016
commit f07b83d7c6cb9a940f90fed279f6d08f7eae6e83
1 change: 1 addition & 0 deletions tests/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -239,3 +239,4 @@ split!(split1, r"\s+", "a b\nc\td\n\t e",
&[t!("a"), t!("b"), t!("c"), t!("d"), t!("e")]);
split!(split2, r"\b", "a b c",
&[t!(""), t!("a"), t!(" "), t!("b"), t!(" "), t!("c")]);
split!(split3, r"a$", "a", &[t!("")]);