Skip to content

Commit

Permalink
Add test case for advisory 2
Browse files Browse the repository at this point in the history
  • Loading branch information
rubdos committed Jul 7, 2024
1 parent 2f1ae24 commit 82f2d2e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/parser/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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:?}");
}
}

0 comments on commit 82f2d2e

Please sign in to comment.