From 1f9907d2ff7022eb846c4e01dabeb3a6eff2cff5 Mon Sep 17 00:00:00 2001 From: Stefan Holderbach Date: Thu, 1 Dec 2022 00:48:02 +0100 Subject: [PATCH] Fix failing test after #7051 (#7299) Numerics as record names have to be quoted Changed to string --- crates/nu-command/tests/commands/math/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/nu-command/tests/commands/math/mod.rs b/crates/nu-command/tests/commands/math/mod.rs index 1e705fe87b..fda1273614 100644 --- a/crates/nu-command/tests/commands/math/mod.rs +++ b/crates/nu-command/tests/commands/math/mod.rs @@ -515,8 +515,8 @@ fn adding_tables() { let actual = nu!( cwd: "tests/fixtures/formats", pipeline( r#" - [[a b]; [1 2]] ++ [[4 5]; [10 11]] | to nuon + [[a b]; [1 2]] ++ [[c d]; [10 11]] | to nuon "# )); - assert_eq!(actual.out, "[{a: 1, b: 2}, {4: 10, 5: 11}]"); + assert_eq!(actual.out, "[{a: 1, b: 2}, {c: 10, d: 11}]"); }