1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 03:27:44 +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. // This file is part of the uutils coreutils package.
// //
// For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code. // file that was distributed with this source code.
use chrono::{DateTime, Datelike, Duration, NaiveTime, Utc}; // spell-checker:disable-line
use regex::Regex; use regex::Regex;
#[cfg(all(unix, not(target_os = "macos")))] #[cfg(all(unix, not(target_os = "macos")))]
use uucore::process::geteuid; use uucore::process::geteuid;
use uutests::at_and_ucmd;
use uutests::new_ucmd;
use uutests::util::TestScenario; use uutests::util::TestScenario;
use uutests::util_name; use uutests::{at_and_ucmd, new_ucmd, util_name};
#[test] #[test]
fn test_invalid_arg() { fn test_invalid_arg() {