Debian Codegraph @

debian/patches/testdata.patch

raw symbols SCIP
1 Last-Update: 2018-02-16
2 Forwarded: no
3 Author: Dmitry Smirnov <[email protected]>
4 Description: adjust path to data files to fix tests.
5
6 --- a/charset/file.go
7 +++ b/charset/file.go
8 @@ -20,9 +20,9 @@
9
10 // CharsetDir gives the location of the default data file directory.
11 // This directory will be used for files with names that have not
12 // been registered with RegisterDataFile.
13 -var CharsetDir = "/usr/local/lib/go-charset/datafiles"
14 +var CharsetDir = "../../datafiles"
15
16 func readFile(name string) (data []byte, err error) {
17 var r io.ReadCloser
18 if open := files[name]; open != nil {