Import the full github path in tests
diff --git a/example_test.go b/example_test.go index f73e7cc..03ebeaa 100644 --- a/example_test.go +++ b/example_test.go
@@ -7,10 +7,11 @@ import ( "errors" - flag "pflag" "fmt" "strings" "time" + + flag "github.com/ogier/pflag" ) // Example 1: A single string flag called "species" with default value "gopher".
diff --git a/flag_test.go b/flag_test.go index 99c9903..7649946 100644 --- a/flag_test.go +++ b/flag_test.go
@@ -6,13 +6,14 @@ import ( "bytes" - . "pflag" "fmt" "os" "sort" "strings" "testing" "time" + + . "github.com/ogier/pflag" ) var (