feat(test): Represent uncaught errors (#14513)

This commit adds better reporting of uncaught errors
in top level scope of testing files. This change affects
both console runner as well as LSP runner.
This commit is contained in:
Nayeem Rahman 2022-05-09 10:44:50 +01:00 committed by GitHub
parent ab728e9ccf
commit 23efc4fcab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 316 additions and 53 deletions

View file

@ -165,7 +165,7 @@ pub enum TestRunProgressMessage {
End,
}
#[derive(Debug, Deserialize, Serialize)]
#[derive(Clone, Debug, Deserialize, Serialize)]
#[serde(rename_all = "camelCase")]
pub struct TestMessage {
pub message: lsp::MarkupContent,