summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/sexpr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sexpr.rs b/tests/sexpr.rs
index e5024ef..ecef773 100644
--- a/tests/sexpr.rs
+++ b/tests/sexpr.rs
@@ -35,7 +35,7 @@ fn int<'a>() -> impl Parser<&'a str, Output = Sexpr> {
fn sexpr<'a>() -> impl Parser<&'a str, Output = Sexpr> {
|it| {
sexpr()
- .separated_list(whitespace(), 0..)
+ .separated_by(whitespace(), 0..)
.delimited_by(tag("("), tag(")"))
.map(|output| Sexpr::List(output))
.or(atom())