From 78affb8397bb45654337a52def02ccfce4769283 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Riegel?= Date: Fri, 4 Apr 2025 18:38:47 +0200 Subject: [PATCH] fix test --- crates/nu-command/tests/commands/into_datetime.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/nu-command/tests/commands/into_datetime.rs b/crates/nu-command/tests/commands/into_datetime.rs index 67063208b0..83f36a7c26 100644 --- a/crates/nu-command/tests/commands/into_datetime.rs +++ b/crates/nu-command/tests/commands/into_datetime.rs @@ -16,9 +16,9 @@ fn into_datetime_from_record() { #[test] fn into_datetime_from_record_defaults() { - let actual = nu!(r#"{year: 2025} | into datetime | into record"#); + let actual = nu!(r#"{year: 2025, timezone: '+02:00'} | into datetime | into record"#); let expected = nu!( - r#"{year: 2025, month: 1, day: 1, hour: 0, minute: 0, second: 0, millisecond: 0, microsecond: 0, nanosecond: 0, timezone: '+00:00'}"# + r#"{year: 2025, month: 1, day: 1, hour: 0, minute: 0, second: 0, millisecond: 0, microsecond: 0, nanosecond: 0, timezone: '+02:00'}"# ); assert_eq!(expected.out, actual.out);