summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohn Turner <jturner.usa@gmail.com>2025-10-29 16:24:25 +0000
committerJohn Turner <jturner.usa@gmail.com>2025-10-29 16:24:25 +0000
commit8937e096a4b7eba649817d12d23d3e369a4a4f1d (patch)
tree21f53e9d851666f19fde3ff045dfd41c9cf1805e /tests
parentb5765118fead09f3501e99bcb4cc19496912040d (diff)
downloadgentoo-utils-8937e096a4b7eba649817d12d23d3e369a4a4f1d.tar.gz
create ebuild module
Diffstat (limited to 'tests')
-rw-r--r--tests/depend.rs8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/depend.rs b/tests/depend.rs
index 02c59f2..3738854 100644
--- a/tests/depend.rs
+++ b/tests/depend.rs
@@ -1,8 +1,4 @@
-use gentoo_utils::{
- Parseable,
- atom::Atom,
- depend::{self, Expr},
-};
+use gentoo_utils::{Parseable, atom::Atom, ebuild::Depend};
use mon::{Parser, eof, input::InputIter, tag, whitespace1};
use std::fs;
@@ -18,7 +14,7 @@ fn parse_md5_cache() {
if line.starts_with("DEPEND=") {
eprintln!("{line}");
eprintln!();
- Expr::<Atom>::parser()
+ Depend::<Atom>::parser()
.separated_list(whitespace1(), 0..)
.ignore()
.or(eof())