From 5e966f50111adf6e2cb2683fe588f6fe033fa931 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 6 Sep 2025 13:18:21 +0300 Subject: fix unit test coverage --- docs/coverage.html | 2585 +++++++++++++++++++++++++++++++--------------------- 1 file changed, 1559 insertions(+), 1026 deletions(-) (limited to 'docs/coverage.html') diff --git a/docs/coverage.html b/docs/coverage.html index d22ef74..6b80630 100644 --- a/docs/coverage.html +++ b/docs/coverage.html @@ -55,53 +55,69 @@ @@ -136,11 +152,11 @@ import ( "codeberg.org/snonux/hexai/internal/hexailsp" ) -func main() { +func main() { logPath := flag.String("log", "/tmp/hexai-lsp.log", "path to log file (optional)") showVersion := flag.Bool("version", false, "print version and exit") flag.Parse() - if *showVersion { + if *showVersion { log.Println(internal.Version) return } @@ -164,10 +180,10 @@ import ( "codeberg.org/snonux/hexai/internal/hexaicli" ) -func main() { +func main() { showVersion := flag.Bool("version", false, "print version and exit") flag.Parse() - if *showVersion { + if *showVersion { fmt.Fprintln(os.Stdout, internal.Version) return } @@ -178,7 +194,25 @@ func main() { } -