tests: Remove more flags

This commit is contained in:
Alexander Neumann committed 2015-06-28 13:52:22 +02:00
1 parent 189a33730a
commit 26e4d2e019
8 files changed
+52 -87

No files matched your search

+1 -4
View File
@@ -1,7 +1,6 @@
package restic_test
import (
"flag"
"path/filepath"
"testing"
@@ -10,13 +9,11 @@ import (
. "github.com/restic/restic/test"
)
var testWalkDirectory = flag.String("test.walkdir", ".", "test walking a directory (globbing pattern, default: .)")
func TestWalkTree(t *testing.T) {
repo := SetupRepo()
defer TeardownRepo(repo)
dirs, err := filepath.Glob(*testWalkDirectory)
dirs, err := filepath.Glob(TestWalkerPath)
OK(t, err)
// archive a few files