Commit 65f71900 authored by Karthic Rao's avatar Karthic Rao

more cases added to test struct in extParse test

parent a5a5c067
...@@ -48,6 +48,8 @@ func TestExtParse(t *testing.T) { ...@@ -48,6 +48,8 @@ func TestExtParse(t *testing.T) {
expectedExts []string expectedExts []string
}{ }{
{`ext .html .htm .php`, false, []string{".html", ".htm", ".php"}}, {`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 { for i, test := range tests {
c := newTestController(test.inputExts) c := newTestController(test.inputExts)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment