Skip to content

Commit 0837c9b

Browse files
committed
coverage
1 parent 1338994 commit 0837c9b

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

bundler/source_context_test.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,13 @@ func TestCanComposeContextualReference(t *testing.T) {
254254
bareFile: true,
255255
want: false,
256256
},
257+
{
258+
name: "unknown component type is not composed",
259+
componentType: "unknown",
260+
source: "description: Unknown component",
261+
bareFile: true,
262+
want: false,
263+
},
257264
{
258265
name: "bare file security scheme accepts HTTP scheme",
259266
componentType: v3.SecuritySchemesLabel,

0 commit comments

Comments
 (0)