From 82f2d2ed9e8690d6e54df59a1af269f9f0cddc92 Mon Sep 17 00:00:00 2001 From: Ruben De Smet Date: Sun, 7 Jul 2024 12:28:34 +0200 Subject: [PATCH] Add test case for advisory 2 --- src/parser/mod.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/parser/mod.rs b/src/parser/mod.rs index 26a3fc2..0e3110f 100644 --- a/src/parser/mod.rs +++ b/src/parser/mod.rs @@ -280,4 +280,10 @@ mod test { let res = parser::parse(None, ".;phone-context="); assert!(res.is_err(), "{res:?}"); } + + #[test] + fn advisory_2() { + let res = parser::parse(None, "+dwPAA;phone-context=AA"); + assert!(res.is_err(), "{res:?}"); + } }