summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohn Turner <jturner.usa@gmail.com>2025-10-30 22:33:02 +0000
committerJohn Turner <jturner.usa@gmail.com>2025-10-30 22:33:02 +0000
commit821f132bd5c8678327c2ab8764bd7d172a7b7ee4 (patch)
treeb0a4acd9c6ad09bb8d04482ff0ba774f17347d9f /tests
parent3eb3db5bda48fa975e5651f3fd7122b86886783b (diff)
downloadmon-821f132bd5c8678327c2ab8764bd7d172a7b7ee4.tar.gz
rename List to Repeated and SeparatedList to SeparatedBy
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())