coredns/middleware/test
Miek Gieben 4096c4906d Pr 311 2 (#312)
* Add a setup test for middleware/file

This fix adds a setup test for middleware/file so that there is
a basic coverage for the Corefile processing of middleware/file.

This fix is related to 308 (Will look into it).

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

* middleware/file: use helper function for test

Fixup setup_test.go and use the test.TempFile function to make things
somewhat shorter.

Use clean up the use of testing.T in TempFile - it is not used.
2016-10-02 15:58:01 +01:00
..
doc.go Doc: add package docs (#296) 2016-09-25 08:39:20 +01:00
file.go Pr 311 2 (#312) 2016-10-02 15:58:01 +01:00
file_test.go Pr 311 2 (#312) 2016-10-02 15:58:01 +01:00
helpers.go Golint2 (#280) 2016-09-23 09:14:12 +01:00
helpers_test.go Fix path for asset storage (#144) 2016-04-30 21:56:43 +01:00
responsewriter.go Golint2 (#280) 2016-09-23 09:14:12 +01:00
server.go Golint2 (#280) 2016-09-23 09:14:12 +01:00