forked from extern/nushell
Error on missing column during cell path
This commit is contained in:
parent
1a15f30eb8
commit
0d031636a9
2
TODO.md
2
TODO.md
@ -27,9 +27,9 @@
|
||||
- [x] Source
|
||||
- [x] Error shortcircuit (stopping on first error). Revised: errors emit first, but can be seen by commands.
|
||||
- [x] Value serialization
|
||||
- [x] Handling rows with missing columns during a cell path
|
||||
- [ ] Input/output types
|
||||
- [ ] Support for `$in`
|
||||
- [ ] Handling rows with missing columns during a cell path
|
||||
- [ ] ctrl-c support
|
||||
- [ ] operator overflow
|
||||
- [ ] finish operator type-checking
|
||||
|
@ -666,3 +666,11 @@ fn earlier_errors() -> TestResult {
|
||||
"int",
|
||||
)
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn missing_column_error() -> TestResult {
|
||||
fail_test(
|
||||
r#"([([[name, size]; [ABC, 10], [DEF, 20]]).1, ([[name]; [HIJ]]).0]).size | table"#,
|
||||
"cannot find column",
|
||||
)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user