From c17a1be8fd64a6c201835e7bb12666824d0943a0 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 30 May 2016 16:18:03 +0200 Subject: [PATCH] Add a test for flags passed to a command --- tests/end2end/features/hints.feature | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/end2end/features/hints.feature b/tests/end2end/features/hints.feature index 8868e87dc..b64c863c9 100644 --- a/tests/end2end/features/hints.feature +++ b/tests/end2end/features/hints.feature @@ -62,6 +62,13 @@ Feature: Using hints And I run :follow-hint a Then the message "Command exited successfully." 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 run :hint --rapid all spawn -v echo -e foo + And I run :follow-hint a + Then the message "Command exited successfully." should be shown + Scenario: Using :hint run When I open data/hints/html/simple.html And I run :hint all run message-info {hint-url}