style: Allow unreadable literals in tests

pull/24376/head
Carol (Nichols || Goulding) 2020-02-17 10:18:12 -05:00
parent f81c8764d0
commit dd7d6e838f
4 changed files with 4 additions and 0 deletions

View File

@ -488,6 +488,7 @@ pub fn decode_all(src: &[u8], dst: &mut Vec<f64>) -> Result<(), Box<dyn Error>>
}
#[cfg(test)]
#[allow(clippy::unreadable_literal)]
mod tests {
#[test]

View File

@ -209,6 +209,7 @@ fn decode_simple8b(src: &[u8], dst: &mut Vec<i64>) -> Result<(), Box<dyn Error>>
}
#[cfg(test)]
#[allow(clippy::unreadable_literal)]
mod tests {
use super::*;

View File

@ -213,6 +213,7 @@ pub fn decode(v: u64, dst: &mut [u64]) -> usize {
}
#[cfg(test)]
#[allow(clippy::unreadable_literal)]
mod tests {
use super::*;
use rand::rngs::StdRng;

View File

@ -254,6 +254,7 @@ fn decode_simple8b(src: &[u8], dst: &mut Vec<i64>) -> Result<(), Box<dyn Error>>
}
#[cfg(test)]
#[allow(clippy::unreadable_literal)]
mod tests {
use super::*;