From 071d96ed47c4467d1071ad7dd70fd9e181e12fe0 Mon Sep 17 00:00:00 2001 From: Nigel Tao Date: Thu, 20 Aug 2015 16:09:11 +1000 Subject: [PATCH] Update BenchmarkDrawString testdata dir. --- freetype_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/freetype_test.go b/freetype_test.go index fef08b8..348c411 100644 --- a/freetype_test.go +++ b/freetype_test.go @@ -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) } -- GitLab