MCPcopy
hub / github.com/minio/minio-go / TestNewStringSet

Function TestNewStringSet

pkg/set/stringset_test.go:29–33  ·  view source on GitHub ↗

NewStringSet() is called and the result is validated.

(t *testing.T)

Source from the content-addressed store, hash-verified

27
28// NewStringSet() is called and the result is validated.
29func TestNewStringSet(t *testing.T) {
30 if ss := NewStringSet(); !ss.IsEmpty() {
31 t.Fatalf("expected: true, got: false")
32 }
33}
34
35// CreateStringSet() is called and the result is validated.
36func TestCreateStringSet(t *testing.T) {

Callers

nothing calls this directly

Calls 2

IsEmptyMethod · 0.95
NewStringSetFunction · 0.85

Tested by

no test coverage detected