diff options
Diffstat (limited to 'cli/lsp/testing/definitions.rs')
-rw-r--r-- | cli/lsp/testing/definitions.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cli/lsp/testing/definitions.rs b/cli/lsp/testing/definitions.rs index ab47beec9..43a07c2e3 100644 --- a/cli/lsp/testing/definitions.rs +++ b/cli/lsp/testing/definitions.rs @@ -28,16 +28,13 @@ pub struct TestDefinition { #[derive(Debug, Clone, PartialEq)] pub struct TestModule { pub specifier: ModuleSpecifier, - /// The version of the document that the discovered tests relate to. - pub script_version: String, pub defs: HashMap<String, TestDefinition>, } impl TestModule { - pub fn new(specifier: ModuleSpecifier, script_version: String) -> Self { + pub fn new(specifier: ModuleSpecifier) -> Self { Self { specifier, - script_version, defs: Default::default(), } } |