Update BenchmarkDrawString testdata dir.
This commit is contained in:
parent
f42630ca7a
commit
071d96ed47
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user