From ac0012f4f6d2cde52490294e1fb262770f95ba9f Mon Sep 17 00:00:00 2001 From: Dave Henderson Date: Sun, 31 Mar 2019 13:52:38 -0400 Subject: Adding --output-map argument for templating output paths Signed-off-by: Dave Henderson --- tests/integration/basic_test.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/integration/basic_test.go') 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) { -- cgit v1.2.3