Skip to content

Commit a59a4b6

Browse files
committed
bumped coverage
Signed-off-by: quobix <[email protected]>
1 parent 8825f5e commit a59a4b6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

datamodel/low/base/security_requirement_test.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,3 +63,10 @@ func TestSecurityRequirement_TestEmptyReq(t *testing.T) {
6363
assert.True(t, sr.ContainsEmptyRequirement)
6464

6565
}
66+
67+
func TestSecurityRequirement_TestEmptyContent(t *testing.T) {
68+
var sr SecurityRequirement
69+
_ = sr.Build(context.Background(), nil, &yaml.Node{}, nil)
70+
assert.True(t, sr.ContainsEmptyRequirement)
71+
72+
}

0 commit comments

Comments
 (0)