MCPcopy Create free account
hub / github.com/codnect/chrono / TestParseField_WhenValueIsEmpty

Function TestParseField_WhenValueIsEmpty

cron_test.go:655–660  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

653}
654
655func TestParseField_WhenValueIsEmpty(t *testing.T) {
656 result, err := parseField("", second)
657 assert.Nil(t, result, "result must not have been returned")
658 assert.NotNil(t, err, "an error must have been occurred")
659 assert.Equal(t, "value must not be empty", err.Error())
660}

Callers

nothing calls this directly

Calls 1

parseFieldFunction · 0.85

Tested by

no test coverage detected