Skip to content

Commit 2d65be3

Browse files
committed
Write fourslash stderr to t.Output
1 parent 72edb9e commit 2d65be3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

internal/fourslash/fourslash.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,11 +159,10 @@ func NewFourslash(t *testing.T, capabilities *lsproto.ClientCapabilities, conten
159159
outputReader, outputWriter := newLSPPipe()
160160
fs := bundled.WrapFS(vfstest.FromMap(testfs, true /*useCaseSensitiveFileNames*/))
161161

162-
var err strings.Builder
163162
server := lsp.NewServer(&lsp.ServerOptions{
164163
In: inputReader,
165164
Out: outputWriter,
166-
Err: &err,
165+
Err: t.Output(),
167166

168167
Cwd: "/",
169168
FS: fs,

0 commit comments

Comments
 (0)