From 58436a29556e3b8ff21cb2f494bfb83768dadb6d Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 29 May 2023 13:56:04 +0200 Subject: Fix lint/tests --- qutebrowser/misc/guiprocess.py | 2 +- tests/end2end/features/hints.feature | 8 ++++---- tests/end2end/features/spawn.feature | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/qutebrowser/misc/guiprocess.py b/qutebrowser/misc/guiprocess.py index 5057b1eb8..9aebf8013 100644 --- a/qutebrowser/misc/guiprocess.py +++ b/qutebrowser/misc/guiprocess.py @@ -134,7 +134,7 @@ class ProcessOutcome: sig = self._crash_signal() if sig is None: return f"{msg}." - return f"{msg} ({sig.name})." + return f"{msg} ({sig.name})." elif self.was_successful(): return f"{self.what.capitalize()} exited successfully." diff --git a/tests/end2end/features/hints.feature b/tests/end2end/features/hints.feature index 2d597da13..1cfd8ccad 100644 --- a/tests/end2end/features/hints.feature +++ b/tests/end2end/features/hints.feature @@ -62,23 +62,23 @@ Feature: Using hints Scenario: Using :hint spawn with flags and -- (issue 797) When I open data/hints/html/simple.html And I hint with args "-- all spawn -v (python-executable) -c ''" and follow a - Then the message "Command exited successfully." should be shown + Then the message "Command exited successfully. See :process * for details." should be shown Scenario: Using :hint spawn with flags (issue 797) When I open data/hints/html/simple.html And I hint with args "all spawn -v (python-executable) -c ''" and follow a - Then the message "Command exited successfully." should be shown + Then the message "Command exited successfully. See :process * for details." should be shown Scenario: Using :hint spawn with flags and --rapid (issue 797) When I open data/hints/html/simple.html And I hint with args "--rapid all spawn -v (python-executable) -c ''" and follow a - Then the message "Command exited successfully." should be shown + Then the message "Command exited successfully. See :process * for details." should be shown @posix Scenario: Using :hint spawn with flags passed to the command (issue 797) When I open data/hints/html/simple.html And I hint with args "--rapid all spawn -v echo -e foo" and follow a - Then the message "Command exited successfully." should be shown + Then the message "Command exited successfully. See :process * for details." should be shown Scenario: Using :hint run When I open data/hints/html/simple.html diff --git a/tests/end2end/features/spawn.feature b/tests/end2end/features/spawn.feature index ba2cc7474..d45b6321e 100644 --- a/tests/end2end/features/spawn.feature +++ b/tests/end2end/features/spawn.feature @@ -4,7 +4,7 @@ Feature: :spawn Scenario: Running :spawn When I run :spawn -v (echo-exe) "Hello" - Then the message "Command exited successfully." should be shown + Then the message "Command exited successfully. See :process * for details." should be shown Scenario: Running :spawn with command that does not exist When I run :spawn command_does_not_exist127623 -- cgit v1.2.3-54-g00ecf