Skip to content

Commit

Permalink
fix: supress daemon server output on lsp server test
Browse files Browse the repository at this point in the history
  • Loading branch information
nedpals committed Feb 2, 2024
1 parent d64202d commit 0aca584
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions server/lsp_server/lsp_server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ package lsp_server

import (
"context"
"io"
"log"
"net"
"strings"
"testing"
Expand All @@ -18,6 +20,8 @@ import (

func daemonConnSetup() (*jsonrpc2.Conn, net.Conn) {
server := server.NewServer()
server.ServerLog = log.New(io.Discard, "", log.LstdFlags)

serverConn, clientConn := net.Pipe()

conn := jsonrpc2.NewConn(
Expand Down

0 comments on commit 0aca584

Please sign in to comment.