1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-27 19:17:43 +00:00

date: move file header to top; merge imports (#7857)

This commit is contained in:
Daniel Hofstetter 2025-05-04 09:36:21 +02:00 committed by GitHub
parent cd3c921d1e
commit 5909315d1c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,17 +1,14 @@
// cSpell:disable
use chrono::{DateTime, Datelike, Duration, NaiveTime, Utc};
// cSpell:enable
// This file is part of the uutils coreutils package.
//
// For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code.
use chrono::{DateTime, Datelike, Duration, NaiveTime, Utc}; // spell-checker:disable-line
use regex::Regex;
#[cfg(all(unix, not(target_os = "macos")))]
use uucore::process::geteuid;
use uutests::at_and_ucmd;
use uutests::new_ucmd;
use uutests::util::TestScenario;
use uutests::util_name;
use uutests::{at_and_ucmd, new_ucmd, util_name};
#[test]
fn test_invalid_arg() {