Debian Codegraph @

debian/patches/01-fix-unexpected-directory-layout-error-during-go-test.patch

raw symbols SCIP
1 Description: Change import of "tester" from relative path to full path
2 This solves the "unexpected directory layout" error during the "go test" run
3 in the dh_auto_test target.
4 Author: Anthony Fok <[email protected]>
5 Origin: vendor
6 Forwarded: https://github.com/ianbruene/go-difflib/pull/10
7 Last-Update: 2020-11-06
8 ---
9 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
10 --- a/difflib/bytes/bytes_test.go
11 +++ b/difflib/bytes/bytes_test.go
12 @@ -9,7 +9,7 @@
13 "strings"
14 "testing"
15 "sort"
16 - "../tester"
17 + "github.com/ianbruene/go-difflib/difflib/tester"
18 )
19
20 func assertAlmostEqual(t *testing.T, a, b float64, places int) {
21 --- a/difflib/difflib_test.go
22 +++ b/difflib/difflib_test.go
23 @@ -8,7 +8,7 @@
24 "runtime"
25 "strings"
26 "testing"
27 - "./tester"
28 + "github.com/ianbruene/go-difflib/difflib/tester"
29 )
30
31 func assertAlmostEqual(t *testing.T, a, b float64, places int) {