(t *testing.T)
| 60 | } |
| 61 | |
| 62 | func TestBuildLogsURL_TruncatesLongAppID(t *testing.T) { |
| 63 | long := strings.Repeat("a", LogsAppIDMaxLen+50) |
| 64 | got := BuildLogsURL(long) |
| 65 | want := "docker-desktop://dashboard/logs?appId=" + strings.Repeat("a", LogsAppIDMaxLen) |
| 66 | assert.Equal(t, got, want) |
| 67 | } |
| 68 | |
| 69 | func TestClientPing(t *testing.T) { |
| 70 | if testing.Short() { |
nothing calls this directly
no test coverage detected