summaryrefslogtreecommitdiff
path: root/src/atom
diff options
context:
space:
mode:
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();
+ }
}