Update BenchmarkDrawString testdata dir.

This commit is contained in:
Nigel Tao 2015-08-20 16:09:11 +10:00
parent f42630ca7a
commit 071d96ed47

View File

@ -15,13 +15,13 @@ import (
)
func BenchmarkDrawString(b *testing.B) {
data, err := ioutil.ReadFile("../licenses/gpl.txt")
data, err := ioutil.ReadFile("licenses/gpl.txt")
if err != nil {
b.Fatal(err)
}
lines := strings.Split(string(data), "\n")
data, err = ioutil.ReadFile("../testdata/luxisr.ttf")
data, err = ioutil.ReadFile("testdata/luxisr.ttf")
if err != nil {
b.Fatal(err)
}