返回 DeepSeek-Reasonix
remote_dialog_test.go
根目录 / desktop / remote_dialog_test.go
1 package main
2
3 import "testing"
4
5 func TestPickRemoteIdentityFileWithoutDesktopContextIsCancelled(t *testing.T) {
6 app := &App{}
7 path, err := app.PickRemoteIdentityFile()
8 if err != nil {
9 t.Fatalf("PickRemoteIdentityFile: %v", err)
10 }
11 if path != "" {
12 t.Fatalf("path = %q, want empty cancellation", path)
13 }
14 }
15
15 lines GO