all repos — grayfriday @ 29c5b49e95a947f98b61718061ed9e8cee9714c1

blackfriday fork with a few changes

Rename upskirtref to testdata; upskirtref_test.go to ref_test.go.
Dmitry Chestnykh dmitry@codingrobots.com
Tue, 24 Mar 2015 06:27:58 +0100
commit

29c5b49e95a947f98b61718061ed9e8cee9714c1

parent

6928e11ecd2bf32f22ba9a46b542257fa76bdc34

47 files changed, 2 insertions(+), 2 deletions(-)

jump to
M upskirtref_test.goref_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)