summaryrefslogtreecommitdiff
path: root/src/atom
diff options
context:
space:
mode:
authorJohn Turner <jturner.usa@gmail.com>2025-10-24 21:36:06 -0400
committerJohn Turner <jturner.usa@gmail.com>2025-10-24 21:36:06 -0400
commitaa0d4edc57a9ac74a79f6f567e17ce583abb84de (patch)
tree11a7cc83baf6ae48fd2c33e2fd1a13662e3516db /src/atom
parentd75266f9677121d2d92065204aaae400fecd3e2b (diff)
downloadgentoo-utils-aa0d4edc57a9ac74a79f6f567e17ce583abb84de.tar.gz
fix useflag parser
Diffstat (limited to 'src/atom')
-rw-r--r--src/atom/parsers.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/atom/parsers.rs b/src/atom/parsers.rs
index 65cce04..f4686f2 100644
--- a/src/atom/parsers.rs
+++ b/src/atom/parsers.rs
@@ -280,4 +280,11 @@ mod test {
atom().check_finished(it).unwrap();
}
+
+ #[test]
+ fn test_usedep_with_underscore() {
+ let it = InputIter::new("foo/bar-1.0.0[use_dep]");
+
+ atom().check_finished(it).unwrap();
+ }
}