diff options
| author | Dave Henderson <dhenderson@gmail.com> | 2019-10-23 23:06:56 -0400 |
|---|---|---|
| committer | Dave Henderson <dhenderson@gmail.com> | 2019-10-23 23:09:48 -0400 |
| commit | e0840639ea94698921025301ef6c5ff0c6961feb (patch) | |
| tree | b349bef18afad24923eb686115fdf9c245de4c0b /gomplate_test.go | |
| parent | cb03ef3ca03fdbdf6d7e99866c08db4250daef3e (diff) | |
New --exec-pipe output option
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'gomplate_test.go')
| -rw-r--r-- | gomplate_test.go | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/gomplate_test.go b/gomplate_test.go index 83e47adc..9cd8362f 100644 --- a/gomplate_test.go +++ b/gomplate_test.go @@ -2,7 +2,6 @@ package gomplate import ( "bytes" - "io" "net/http/httptest" "os" "path/filepath" @@ -19,15 +18,6 @@ import ( "github.com/stretchr/testify/assert" ) -// like ioutil.NopCloser(), except for io.WriteClosers... -type nopWCloser struct { - io.Writer -} - -func (n *nopWCloser) Close() error { - return nil -} - func testTemplate(g *gomplate, tmpl string) string { var out bytes.Buffer err := g.runTemplate(&tplate{name: "testtemplate", contents: tmpl, target: &out}) |
