summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_cmd2.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py
index 5b8fedaa..daca3087 100644
--- a/tests/test_cmd2.py
+++ b/tests/test_cmd2.py
@@ -1851,7 +1851,7 @@ def test_alias_create_with_macro_name(base_app, capsys):
run_cmd(base_app, 'macro create {} help'.format(macro))
run_cmd(base_app, 'alias create {} help'.format(macro))
out, err = capsys.readouterr()
- assert "Aliases cannot have the same name as a macro" in err
+ assert "Alias cannot have the same name as a macro" in err
def test_alias_list_invalid_alias(base_app, capsys):
# Look up invalid alias
@@ -1952,13 +1952,13 @@ def test_macro_create_with_alias_name(base_app, capsys):
run_cmd(base_app, 'alias create {} help'.format(macro))
run_cmd(base_app, 'macro create {} help'.format(macro))
out, err = capsys.readouterr()
- assert "Macros cannot have the same name as an alias" in err
+ assert "Macro cannot have the same name as an alias" in err
def test_macro_create_with_command_name(base_app, capsys):
macro = "my_macro"
run_cmd(base_app, 'macro create help stuff')
out, err = capsys.readouterr()
- assert "Macros cannot have the same name as a command" in err
+ assert "Macro cannot have the same name as a command" in err
def test_macro_create_with_args(base_app, capsys):
# Create the macro