From adbc4b20afa2fa185b5908afd31bd38521008b69 Mon Sep 17 00:00:00 2001 From: Alexander Hansen Date: Mon, 16 Dec 2024 10:53:47 -0800 Subject: [PATCH] Fmt --- compiler/qsc_passes/src/test_attribute.rs | 4 +++- vscode/src/testExplorer.ts | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) 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(); });