From 23efc4fcab2ca3b8b47539a7fb1d904efc57eb7c Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Mon, 9 May 2022 10:44:50 +0100 Subject: 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. --- cli/lsp/testing/lsp_custom.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/lsp/testing/lsp_custom.rs') 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, -- cgit v1.2.3