Skip to content

Commit c0079fd

Browse files
committed
update generator test
1 parent 338a899 commit c0079fd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

internal/mode/static/nginx/config/generator_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -127,4 +127,7 @@ func TestGenerate(t *testing.T) {
127127
Path: "/etc/nginx/secrets/test-keypair.pem",
128128
Content: []byte("test-cert\ntest-key"),
129129
}))
130+
131+
g.Expect(files[6].Path).To(Equal("/etc/nginx/stream-conf.d/stream.conf"))
132+
g.Expect(files[6].Type).To(Equal(file.TypeRegular))
130133
}

0 commit comments

Comments
 (0)