Merge branch 'main' into polish-project-diagnostics

Also fix false failure in ModelHandle::condition when parking is not forbidden.
This commit is contained in:
Max Brunsfeld
2022-01-05 10:53:18 -08:00
16 changed files with 676 additions and 202 deletions
+8 -16
View File
@@ -398,10 +398,8 @@ mod tests {
proto::OpenBufferResponse {
buffer: Some(proto::Buffer {
id: 101,
content: "path/one content".to_string(),
history: vec![],
selections: vec![],
diagnostics: vec![],
visible_text: "path/one content".to_string(),
..Default::default()
}),
}
);
@@ -421,10 +419,8 @@ mod tests {
proto::OpenBufferResponse {
buffer: Some(proto::Buffer {
id: 102,
content: "path/two content".to_string(),
history: vec![],
selections: vec![],
diagnostics: vec![],
visible_text: "path/two content".to_string(),
..Default::default()
}),
}
);
@@ -452,10 +448,8 @@ mod tests {
proto::OpenBufferResponse {
buffer: Some(proto::Buffer {
id: 101,
content: "path/one content".to_string(),
history: vec![],
selections: vec![],
diagnostics: vec![],
visible_text: "path/one content".to_string(),
..Default::default()
}),
}
}
@@ -464,10 +458,8 @@ mod tests {
proto::OpenBufferResponse {
buffer: Some(proto::Buffer {
id: 102,
content: "path/two content".to_string(),
history: vec![],
selections: vec![],
diagnostics: vec![],
visible_text: "path/two content".to_string(),
..Default::default()
}),
}
}