summaryrefslogtreecommitdiff
path: root/cli/lsp/testing/lsp_custom.rs
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2022-05-09 10:44:50 +0100
committerGitHub <noreply@github.com>2022-05-09 11:44:50 +0200
commit23efc4fcab2ca3b8b47539a7fb1d904efc57eb7c (patch)
tree54dd76ef9d2071245c9ad28610f78c72937546eb /cli/lsp/testing/lsp_custom.rs
parentab728e9ccfff2d1ac6362b22b579b00120a39f67 (diff)
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.
Diffstat (limited to 'cli/lsp/testing/lsp_custom.rs')
-rw-r--r--cli/lsp/testing/lsp_custom.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/lsp/testing/lsp_custom.rs b/cli/lsp/testing/lsp_custom.rs
index f114a8b35..8182371ca 100644
--- a/cli/lsp/testing/lsp_custom.rs
+++ b/cli/lsp/testing/lsp_custom.rs
@@ -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,