aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Ogier <[email protected]>2015-02-14 21:11:23 -0500
committerAlex Ogier <[email protected]>2015-02-14 21:14:41 -0500
commit760e47f3c3bc7f544cd0bf7653e704cf1b949e83 (patch)
treed813e3064d6cbe300a4a4072e76b4b8e4b3e5792
parent32a05c62658bd1d7c7e75cbc8195de5d585fde0f (diff)
Move test files to the 'pflag' package
This means we can avoid putting the repository name into the source files, so people who have their own forks don't have to make changes.
-rw-r--r--bool_test.go4
-rw-r--r--flag_test.go4
2 files changed, 2 insertions, 6 deletions
diff --git a/bool_test.go b/bool_test.go
index 19aa762..a2e1c5d 100644
--- a/bool_test.go
+++ b/bool_test.go
@@ -2,15 +2,13 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-package pflag_test
+package pflag
import (
"bytes"
"fmt"
"strconv"
"testing"
-
- . "github.com/ogier/pflag"
)
// This value can be a boolean ("true", "false") or "maybe"
diff --git a/flag_test.go b/flag_test.go
index aa8682f..82f7fae 100644
--- a/flag_test.go
+++ b/flag_test.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-package pflag_test
+package pflag
import (
"bytes"
@@ -12,8 +12,6 @@ import (
"strings"
"testing"
"time"
-
- . "github.com/ogier/pflag"
)
var (