(t *testing.T)
| 5 | ) |
| 6 | |
| 7 | func TestToolServiceList(t *testing.T) { |
| 8 | withTempCacheDir(t) |
| 9 | tools, err := NewToolService().List() |
| 10 | if err != nil { |
| 11 | t.Fatalf("list tools: %v", err) |
| 12 | } |
| 13 | if len(tools) == 0 { |
| 14 | t.Fatal("expected bundled tools") |
| 15 | } |
| 16 | } |
| 17 | |
| 18 | // TestToolServiceListCachesDetection confirms a second List() call reuses the |
| 19 | // cached detection results rather than re-probing every binary. We assert this |
nothing calls this directly
no test coverage detected