mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-23 22:27:38 -05:00
more cases added to test struct in extParse test
This commit is contained in:
parent
a5a5c06716
commit
65f7190030
1 changed files with 2 additions and 0 deletions
|
@ -48,6 +48,8 @@ func TestExtParse(t *testing.T) {
|
|||
expectedExts []string
|
||||
}{
|
||||
{`ext .html .htm .php`, false, []string{".html", ".htm", ".php"}},
|
||||
{`ext .php .html .xml`, false, []string{".php", ".html", ".xml"}},
|
||||
{`ext .txt .php .xml`, false, []string{".txt", ".php", ".xml"}},
|
||||
}
|
||||
for i, test := range tests {
|
||||
c := newTestController(test.inputExts)
|
||||
|
|
Loading…
Reference in a new issue