From d73c89a89f4e7278f6a8737faed7052c1149f6c2 Mon Sep 17 00:00:00 2001 From: Dave Dalcino Date: Mon, 14 Nov 2022 19:23:44 -0800 Subject: [PATCH] fix expected error message in test cases --- tests/test_cli.py | 2 +- tests/test_install.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_cli.py b/tests/test_cli.py index 7940997..b0d197d 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -340,7 +340,7 @@ def test_cli_unexpected_error(monkeypatch, capsys): assert err.rstrip().endswith( "===========================PLEASE FILE A BUG REPORT===========================\n" "You have discovered a bug in aqt.\n" - "Please file a bug report at https://github.com/miurahr/aqtinstall/issues.\n" + "Please file a bug report at https://github.com/miurahr/aqtinstall/issues\n" "Please remember to include a copy of this program's output in your report." ) diff --git a/tests/test_install.py b/tests/test_install.py index 866ba9e..f98d362 100644 --- a/tests/test_install.py +++ b/tests/test_install.py @@ -1022,7 +1022,7 @@ def test_install_nonexistent_archives(monkeypatch, capsys, cmd, xml_file: Option "../aqt/settings.ini", "===========================PLEASE FILE A BUG REPORT===========================\n" "You have discovered a bug in aqt.\n" - "Please file a bug report at https://github.com/miurahr/aqtinstall/issues.\n" + "Please file a bug report at https://github.com/miurahr/aqtinstall/issues\n" "Please remember to include a copy of this program's output in your report.", Cli.UNHANDLED_EXCEPTION_CODE, ),