MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / TestContains_EmptySlice

Function TestContains_EmptySlice

database/balance_test.go:51–54  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

49}
50
51func TestContains_EmptySlice(t *testing.T) {
52 slice := []string{}
53 assert.False(t, contains(slice, "a"))
54}
55
56func TestCreateBalance_Success(t *testing.T) {
57 db, mock, err := sqlmock.New()

Callers

nothing calls this directly

Calls 1

containsFunction · 0.70

Tested by

no test coverage detected