Command tests (#922)

* WIP command tests

* Finish marking todo tests

* update

* update

* Windows cd test ignoring
This commit is contained in:
JT
2022-02-03 21:01:45 -05:00
committed by GitHub
parent ac0b331f00
commit a008f1aa80
139 changed files with 10298 additions and 348 deletions

View File

@ -10,17 +10,11 @@ pub struct Call {
pub named: Vec<(Spanned<String>, Option<Expression>)>,
}
impl Default for Call {
fn default() -> Self {
Self::new()
}
}
impl Call {
pub fn new() -> Call {
pub fn new(head: Span) -> Call {
Self {
decl_id: 0,
head: Span { start: 0, end: 0 },
head,
positional: vec![],
named: vec![],
}