Rename upskirtref to testdata; upskirtref_test.go to ref_test.go.
Dmitry Chestnykh dmitry@codingrobots.com
Tue, 24 Mar 2015 06:27:58 +0100
47 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
upskirtref_test.go
→
ref_test.go
@@ -34,7 +34,7 @@ }
}() for _, basename := range files { - filename := filepath.Join("upskirtref", basename+".text") + filename := filepath.Join("testdata", basename+".text") inputBytes, err := ioutil.ReadFile(filename) if err != nil { t.Errorf("Couldn't open '%s', error: %v\n", filename, err)@@ -42,7 +42,7 @@ continue
} input := string(inputBytes) - filename = filepath.Join("upskirtref", basename+".html") + filename = filepath.Join("testdata", basename+".html") expectedBytes, err := ioutil.ReadFile(filename) if err != nil { t.Errorf("Couldn't open '%s', error: %v\n", filename, err)