Skip to content

Commit 112a0d0

Browse files
committed
fix x11 test
1 parent 3564e68 commit 112a0d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

agent/agentssh/x11_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ func TestServer_X11(t *testing.T) {
3333
fs := afero.NewOsFs()
3434
dir := t.TempDir()
3535
s, err := agentssh.NewServer(ctx, logger, prometheus.NewRegistry(), fs, &agentssh.Config{
36-
WorkingDirectory: func() string { return dir },
36+
X11SocketDir: dir,
3737
})
3838
require.NoError(t, err)
3939
defer s.Close()

0 commit comments

Comments
 (0)