Debian Codegraph @

debian/patches/disable-tests-that-cause-stdlib-panics.patch

raw
1 Index: ascii/src/ascii_char.rs
2 ===================================================================
3 --- ascii.orig/src/ascii_char.rs
4 +++ ascii/src/ascii_char.rs
5 @@ -1013,8 +1013,8 @@ mod tests {
6
7 #[test]
8 fn is_digit_strange_radixes() {
9 - assert_eq!(AsciiChar::_0.is_digit(0), '0'.is_digit(0));
10 - assert_eq!(AsciiChar::_0.is_digit(1), '0'.is_digit(1));
11 + //assert_eq!(AsciiChar::_0.is_digit(0), '0'.is_digit(0));
12 + //assert_eq!(AsciiChar::_0.is_digit(1), '0'.is_digit(1));
13 assert_eq!(AsciiChar::_5.is_digit(5), '5'.is_digit(5));
14 assert_eq!(AsciiChar::z.is_digit(35), 'z'.is_digit(35));
15 }