MCPcopy Create free account
hub / github.com/cloudflare/cfssl / TestScanMain

Function TestScanMain

cli/scan/scan_test.go:11–21  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

9var hosts = []string{"www.cloudflare.com", "google.com"}
10
11func TestScanMain(t *testing.T) {
12 err := scanMain(hosts, cli.Config{})
13 if err != nil {
14 t.Fatal(err)
15 }
16
17 err = scanMain(nil, cli.Config{Hostname: "www.cloudflare.com, google.com", List: true})
18 if err != nil {
19 t.Fatal(err)
20 }
21}

Callers

nothing calls this directly

Calls 1

scanMainFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…