summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-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