Skip to content

Commit

Permalink
allow deprecated ... patterns in lookup table test
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmonstar committed Sep 9, 2019
1 parent 1714f91 commit 26d1a59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/parse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ fn is_restricted_quoted_char(c: u8) -> bool {
}

#[test]
#[allow(warnings)] // ... ranges deprecated
fn test_lookup_tables() {
for (i, &valid) in TOKEN_MAP.iter().enumerate() {
let i = i as u8;
Expand Down

0 comments on commit 26d1a59

Please sign in to comment.