testDBPath to package variables

This commit is contained in:
Sebastian Zagrodzki
2017-04-09 01:04:43 +02:00
parent 0566e701f6
commit f2c4300ad5
2 changed files with 1 additions and 1 deletions

View File

@@ -31,7 +31,6 @@ func mustRead(fname string) string {
}
func TestParse(t *testing.T) {
testDBPath := "testdata/testdb.txt"
vendors, classes, err := ParseIDs(strings.NewReader(mustRead(testDBPath)))
if err != nil {
t.Fatalf("ParseIDs(%q): %s", testDBPath, err)