mirror of
https://github.com/nushell/nushell
synced 2024-11-15 17:27:58 +00:00
Numerics as record names have to be quoted Changed to string
This commit is contained in:
parent
fd503fceaf
commit
1f9907d2ff
1 changed files with 2 additions and 2 deletions
|
@ -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}]");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue