diff --git a/compiler/qsc_passes/src/test_attribute.rs b/compiler/qsc_passes/src/test_attribute.rs index ec548ba2e0..1c865ac0b5 100644 --- a/compiler/qsc_passes/src/test_attribute.rs +++ b/compiler/qsc_passes/src/test_attribute.rs @@ -34,7 +34,9 @@ impl<'a> Visitor<'a> for TestAttributeValidator { if decl.attrs.iter().any(|attr| matches!(attr, Attr::Test)) { if !decl.generics.is_empty() { self.errors - .push(TestAttributeError::CallableHasTypeParameters(decl.name.span)); + .push(TestAttributeError::CallableHasTypeParameters( + decl.name.span, + )); } if decl.input.ty != qsc_hir::ty::Ty::UNIT { self.errors diff --git a/vscode/src/testExplorer.ts b/vscode/src/testExplorer.ts index 052c09ebfd..23be23bd0c 100644 --- a/vscode/src/testExplorer.ts +++ b/vscode/src/testExplorer.ts @@ -172,7 +172,7 @@ function startWatchingWorkspace( watcher.onDidCreate(async () => { await refresher(); }); - + watcher.onDidChange(async () => { await refresher(); });