aboutsummaryrefslogtreecommitdiff
path: root/tools/glue/vendor/github.com/kballard/go-shellquote/both_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tools/glue/vendor/github.com/kballard/go-shellquote/both_test.go')
-rw-r--r--tools/glue/vendor/github.com/kballard/go-shellquote/both_test.go29
1 files changed, 0 insertions, 29 deletions
diff --git a/tools/glue/vendor/github.com/kballard/go-shellquote/both_test.go b/tools/glue/vendor/github.com/kballard/go-shellquote/both_test.go
deleted file mode 100644
index 9cba3c8..0000000
--- a/tools/glue/vendor/github.com/kballard/go-shellquote/both_test.go
+++ /dev/null
@@ -1,29 +0,0 @@
-package shellquote
-
-import (
- "reflect"
- "testing"
- "testing/quick"
-)
-
-// this is called bothtest because it tests Split and Join together
-
-func TestJoinSplit(t *testing.T) {
- f := func(strs []string) bool {
- // Join, then split, the input
- combined := Join(strs...)
- split, err := Split(combined)
- if err != nil {
- t.Logf("Error splitting %#v: %v", combined, err)
- return false
- }
- if !reflect.DeepEqual(strs, split) {
- t.Logf("Input %q did not match output %q", strs, split)
- return false
- }
- return true
- }
- if err := quick.Check(f, nil); err != nil {
- t.Error(err)
- }
-}