diff --git a/cp_mirror_test.go b/cp_mirror_test.go index 7918435a..e5ff1bc2 100644 --- a/cp_mirror_test.go +++ b/cp_mirror_test.go @@ -111,15 +111,6 @@ func (s *TestSuite) TestCopy(c *C) { c.Assert(err, IsNil) c.Assert(console.IsExited, Equals, false) - // reset back - console.IsExited = false - - err = app.Run([]string{os.Args[0], "cp", filepath.Join(source, ".."), target}) - c.Assert(err, IsNil) - // in case of invalid arguments both are set - c.Assert(console.IsError, Equals, true) - c.Assert(console.IsExited, Equals, true) - // reset back console.IsError = false console.IsExited = false