MCPcopy
hub / github.com/OJ/gobuster / TestNewOptions

Function TestNewOptions

gobusterdir/options_test.go:5–16  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

3import "testing"
4
5func TestNewOptions(t *testing.T) {
6 t.Parallel()
7
8 o := NewOptions()
9 if o.StatusCodesParsed.Set == nil {
10 t.Fatal("StatusCodesParsed not initialized")
11 }
12
13 if o.ExtensionsParsed.Set == nil {
14 t.Fatal("ExtensionsParsed not initialized")
15 }
16}

Callers

nothing calls this directly

Calls 2

FatalMethod · 0.80
NewOptionsFunction · 0.70

Tested by

no test coverage detected