mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
fix clippy tests
This commit is contained in:
parent
81de2be5ab
commit
ab67947321
31 changed files with 1259 additions and 888 deletions
|
@ -4,6 +4,7 @@
|
|||
// file that was distributed with this source code.
|
||||
//
|
||||
// spell-checker:ignore bincode serde utmp runlevel testusr testx
|
||||
#![allow(clippy::cast_possible_wrap, clippy::unreadable_literal)]
|
||||
|
||||
use crate::common::util::TestScenario;
|
||||
|
||||
|
@ -99,6 +100,7 @@ fn test_uptime_with_non_existent_file() {
|
|||
// This will pass
|
||||
#[test]
|
||||
#[cfg(not(any(target_os = "openbsd", target_os = "macos")))]
|
||||
#[allow(clippy::too_many_lines, clippy::items_after_statements)]
|
||||
fn test_uptime_with_file_containing_valid_boot_time_utmpx_record() {
|
||||
// This test will pass for freebsd but we currently don't support changing the utmpx file for
|
||||
// freebsd.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue