diff options
| author | Dave Henderson <dhenderson@gmail.com> | 2019-04-09 16:31:05 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-09 16:31:05 -0700 |
| commit | 67e97968fdb190cbdbbe511c8d6f816ff65eb124 (patch) | |
| tree | de763083c0eeebe58ab679f595d4e95214534c84 /tests/integration/basic_test.go | |
| parent | 32235c3c65d9c5fdc7171077f603b203197088a2 (diff) | |
| parent | ac0012f4f6d2cde52490294e1fb262770f95ba9f (diff) | |
Merge pull request #529 from hairyhenderson/output-file-template-288
Adding --output-map argument for templating output paths
Diffstat (limited to 'tests/integration/basic_test.go')
| -rw-r--r-- | tests/integration/basic_test.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/integration/basic_test.go b/tests/integration/basic_test.go index 9789716a..31018806 100644 --- a/tests/integration/basic_test.go +++ b/tests/integration/basic_test.go @@ -140,6 +140,12 @@ func (s *BasicSuite) TestFlagRules(c *C) { ExitCode: 1, Err: "--output-dir can not be used together with --out", }) + + result = icmd.RunCommand(GomplateBin, "--output-map", ".", "--out", "param") + result.Assert(c, icmd.Expected{ + ExitCode: 1, + Err: "--output-map can not be used together with --out or --output-dir", + }) } func (s *BasicSuite) TestDelimsChangedThroughOpts(c *C) { |
