Suppress invalid_from_utf8 in test where it's intentional
This commit is contained in:
parent
7e6c5c38d9
commit
3367c618cf
1 changed files with 1 additions and 0 deletions
|
@ -187,6 +187,7 @@ mod test {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
#[allow(invalid_from_utf8)]
|
||||||
fn example_slice() {
|
fn example_slice() {
|
||||||
use super::FromCp437;
|
use super::FromCp437;
|
||||||
let data = b"Cura\x87ao";
|
let data = b"Cura\x87ao";
|
||||||
|
|
Loading…
Add table
Reference in a new issue