Delete some dead code and fix nits.

This commit is contained in:
jregan
2019-01-29 11:59:00 -08:00
parent 93515517b8
commit 35daae1715
10 changed files with 30 additions and 263 deletions

View File

@@ -31,9 +31,9 @@ func TestMakeDefaultConfig(t *testing.T) {
}
func makeTestLoader(path, content string) ifc.Loader {
fs := fs.MakeFakeFS()
fs.WriteFile(path, []byte(content))
return loader.NewFileLoaderAtRoot(fs)
fSys := fs.MakeFakeFS()
fSys.WriteFile(path, []byte(content))
return loader.NewFileLoaderAtRoot(fSys)
}
func TestFromFiles(t *testing.T) {