summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2021-03-08 11:26:39 +0100
committerFlorian Bruhin <me@the-compiler.org>2021-03-08 11:26:39 +0100
commit45387d18a514103c686be559087420199cb49995 (patch)
tree7252a2fb9e3ca9e5eaae04c6a682de5c93a63806
parent423e7e25bdd7de78c7a75d70bfc92171fcf8ccaf (diff)
downloadqutebrowser-45387d18a514103c686be559087420199cb49995.tar.gz
qutebrowser-45387d18a514103c686be559087420199cb49995.zip
Fix some tests with non-english locales
See #6234
-rw-r--r--tests/end2end/features/misc.feature2
-rw-r--r--tests/end2end/features/qutescheme.feature2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/end2end/features/misc.feature b/tests/end2end/features/misc.feature
index 351135fab..5d81a890a 100644
--- a/tests/end2end/features/misc.feature
+++ b/tests/end2end/features/misc.feature
@@ -140,7 +140,7 @@ Feature: Various utility commands.
Scenario: :jseval --file using a file that doesn't exist as js-code
When I run :jseval --file /nonexistentfile
- Then the error "[Errno 2] No such file or directory: '/nonexistentfile'" should be shown
+ Then the error "[Errno 2] *: '/nonexistentfile'" should be shown
And "No output or error" should not be logged
# :debug-webaction
diff --git a/tests/end2end/features/qutescheme.feature b/tests/end2end/features/qutescheme.feature
index 286f8f80a..1424bbf09 100644
--- a/tests/end2end/features/qutescheme.feature
+++ b/tests/end2end/features/qutescheme.feature
@@ -215,7 +215,7 @@ Feature: Special qute:// pages
Scenario: Running :pyeval --file using a non existing file
When I run :debug-pyeval --file nonexistentfile
- Then the error "[Errno 2] No such file or directory: 'nonexistentfile'" should be shown
+ Then the error "[Errno 2] *: 'nonexistentfile'" should be shown
Scenario: Running :pyeval with --quiet
When I run :debug-pyeval --quiet 1+1