bump mon for bug fixes

This commit is contained in:
John Turner
2025-11-17 21:20:40 +00:00
parent b74471706b
commit 63db65b2f0
3 changed files with 14 additions and 2 deletions

2
Cargo.lock generated
View File

@@ -40,7 +40,7 @@ dependencies = [
[[package]]
name = "mon"
version = "0.1.0"
source = "git+https://jturnerusa.dev/cgit/mon/?rev=34d8eeb989012b0f20041b11a60ced24ca702527#34d8eeb989012b0f20041b11a60ced24ca702527"
source = "git+https://jturnerusa.dev/cgit/mon/?rev=438ade86160efc42ecab98322ceec8ef8d73aacf#438ade86160efc42ecab98322ceec8ef8d73aacf"
[[package]]
name = "proc-macro2"

View File

@@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2024"
[dependencies]
mon = { git = "https://jturnerusa.dev/cgit/mon/", rev = "34d8eeb989012b0f20041b11a60ced24ca702527" }
mon = { git = "https://jturnerusa.dev/cgit/mon/", rev = "438ade86160efc42ecab98322ceec8ef8d73aacf" }
get = { git = "https://jturnerusa.dev/cgit/get/", rev = "cd5f75b65777a855ab010c3137304ac05f2e56b8" }
itertools = "0.14.0"
thiserror = "2.0.17"

View File

@@ -507,4 +507,16 @@ mod test {
Atom::parser().check_finished(it).unwrap();
}
#[test]
fn test_against_fuzzer_false_positives() {
let atoms = ["media-libs/libsdl2[haptitick(+),sound(+)vd,eio(+)]"];
for atom in atoms {
assert!(
Atom::parser().check_finished(InputIter::new(atom)).is_err(),
"{atom}"
);
}
}
}