summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohn Turner <jturner.usa@gmail.com>2025-10-29 12:50:07 +0000
committerJohn Turner <jturner.usa@gmail.com>2025-10-29 12:50:07 +0000
commitb5765118fead09f3501e99bcb4cc19496912040d (patch)
treeeaefc8fa107680ac4414c25d5637e9fffbefc324 /tests
parentbdd1188409947bb92910cbd5b1b7039ed805273a (diff)
downloadgentoo-utils-b5765118fead09f3501e99bcb4cc19496912040d.tar.gz
make depend::Expr generic over Parseables
Diffstat (limited to 'tests')
-rw-r--r--tests/depend.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/depend.rs b/tests/depend.rs
index 12d6e75..02c59f2 100644
--- a/tests/depend.rs
+++ b/tests/depend.rs
@@ -1,5 +1,6 @@
use gentoo_utils::{
Parseable,
+ atom::Atom,
depend::{self, Expr},
};
use mon::{Parser, eof, input::InputIter, tag, whitespace1};
@@ -17,7 +18,7 @@ fn parse_md5_cache() {
if line.starts_with("DEPEND=") {
eprintln!("{line}");
eprintln!();
- Expr::parser()
+ Expr::<Atom>::parser()
.separated_list(whitespace1(), 0..)
.ignore()
.or(eof())