summaryrefslogtreecommitdiff
path: root/tests/test_cmd2.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2021-03-23 11:51:24 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2021-03-23 11:51:24 -0400
commit3126eb792816e09ce56f24262447077df1bdc0c3 (patch)
tree3a80de210c8fc8fe49a0597e7b45bd638699a231 /tests/test_cmd2.py
parent3a4893ec32c6d38cad344667fead93e2eed8dc88 (diff)
downloadcmd2-git-exit_code.tar.gz
No longer using -1 as an exit codeexit_code
Diffstat (limited to 'tests/test_cmd2.py')
-rwxr-xr-xtests/test_cmd2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py
index e369a9cf..44d2b304 100755
--- a/tests/test_cmd2.py
+++ b/tests/test_cmd2.py
@@ -2326,7 +2326,7 @@ class ReplWithExitCode(cmd2.Cmd):
self.exit_code = int(arg_list[0])
except ValueError:
self.perror("{} isn't a valid integer exit code".format(arg_list[0]))
- self.exit_code = -1
+ self.exit_code = 1
# Return True to stop the command loop
return True