diff --git a/features/options/extract/invalid.feature b/features/options/extract/invalid.feature index 3ef302ba0..cd9fe5af4 100644 --- a/features/options/extract/invalid.feature +++ b/features/options/extract/invalid.feature @@ -7,6 +7,6 @@ Feature: osrm-extract command line options: invalid options Scenario: osrm-extract - Non-existing option When I run "osrm-extract --fly-me-to-the-moon" Then stdout should be empty - And stderr should contain "exception" + And stderr should contain "unrecognised option" And stderr should contain "fly-me-to-the-moon" And it should exit with code 1 diff --git a/features/options/prepare/invalid.feature b/features/options/prepare/invalid.feature index 9eb4b757a..8d69d0b19 100644 --- a/features/options/prepare/invalid.feature +++ b/features/options/prepare/invalid.feature @@ -7,6 +7,6 @@ Feature: osrm-prepare command line options: invalid options Scenario: osrm-prepare - Non-existing option When I run "osrm-prepare --fly-me-to-the-moon" Then stdout should be empty - And stderr should contain "Exception" + And stderr should contain "unrecognised option" And stderr should contain "fly-me-to-the-moon" And it should exit with code 1