Skip to content

Commit

Permalink
Complex test
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateusz Gajewski committed Dec 10, 2016
1 parent debc0ea commit 5c928ee
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion cli/internal/test_fixtures/complex_plugin/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import "C"

import (
"fmt"
"net/http"

http2 "github.com/wendigo/go-bind-plugin/cli/internal/test_fixtures/complex_plugin/http"
)
Expand Down Expand Up @@ -58,11 +59,16 @@ func DoWorkMap(m map[string]*http2.Work) *http2.Work {
return nil
}

// DoWorkVariadic accepts variadic string arguments
// DoWorkVariadic is only exported for testing purposes
func DoWorkVariadic(m ...string) bool {
return false
}

// DoWorkOnTwoNamedTypes is only exported for testing purposes
func DoWorkOnTwoNamedTypes(l http.Header, r http2.Work) http.Dir {
return ""
}

// X is only exported for testing purposes
var X = http2.Work{Work: "Hello world!"}

Expand Down

0 comments on commit 5c928ee

Please sign in to comment.