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

Function TestNewSet

libgobuster/helpers_test.go:14–23  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

12)
13
14func TestNewSet(t *testing.T) {
15 t.Parallel()
16 if NewSet[string]().Set == nil {
17 t.Fatal("NewSet[string] returned nil Set")
18 }
19
20 if NewSet[int]().Set == nil {
21 t.Fatal("NewSet[int] returned nil Set")
22 }
23}
24
25func TestSetAdd(t *testing.T) {
26 t.Parallel()

Callers

nothing calls this directly

Calls 1

FatalMethod · 0.80

Tested by

no test coverage detected