mirror of
https://github.com/nushell/nushell.git
synced 2024-11-26 18:33:50 +01:00
Numerics as record names have to be quoted Changed to string
This commit is contained in:
parent
fd503fceaf
commit
1f9907d2ff
@ -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 New Issue
Block a user