From aa0d4edc57a9ac74a79f6f567e17ce583abb84de Mon Sep 17 00:00:00 2001 From: John Turner Date: Fri, 24 Oct 2025 21:36:06 -0400 Subject: fix useflag parser --- src/atom/parsers.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/atom') 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(); + } } -- cgit v1.2.3