9951 clippy errors in the test suite (#10030)

automerge
This commit is contained in:
Kristofer Peterson
2020-05-15 17:35:43 +01:00
committed by GitHub
parent 1da1667920
commit 58ef02f02b
106 changed files with 713 additions and 827 deletions

View File

@ -555,7 +555,6 @@ mod tests {
use std::fs::remove_file;
use std::io::Write;
use std::path::Path;
use tempfile;
#[test]
fn test_append_primordial_accounts_to_genesis() {

View File

@ -143,9 +143,10 @@ mod tests {
use super::*;
#[test]
#[allow(clippy::float_cmp)]
fn test_make_lockups() {
// this number just a random val
let total_lamports: u64 = 1725987234408923;
let total_lamports: u64 = 1_725_987_234_408_923;
// expected config
const EPOCHS_PER_MONTH: Epoch = 2;