From 65f7190030499ec479ffb33a0b8afb110f574e12 Mon Sep 17 00:00:00 2001 From: Karthic Rao Date: Wed, 17 Jun 2015 14:07:26 +0530 Subject: [PATCH] more cases added to test struct in extParse test --- config/setup/ext_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/setup/ext_test.go b/config/setup/ext_test.go index 876183d3..2054b56a 100644 --- a/config/setup/ext_test.go +++ b/config/setup/ext_test.go @@ -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)