From dcd95d3a77d52d053f8b0ba56bda3b34cb82aa38 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Wed, 29 May 2024 07:26:34 +0200 Subject: [PATCH] DDG: Fix regexp escape in test 9bcb21389adc62dd099afd0665990aa0128a7ad3 added it to the wrong string --- plugins/DDG/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/DDG/test.py b/plugins/DDG/test.py index a3b96a407..b5f7961ae 100644 --- a/plugins/DDG/test.py +++ b/plugins/DDG/test.py @@ -39,7 +39,7 @@ class DDGTestCase(PluginTestCase): def testSearch(self): self.assertRegexp( - r'ddg search wikipedia', 'Wikipedia.*? - .*?https?\:\/\/') + 'ddg search wikipedia', r'Wikipedia.*? - .*?https?\:\/\/') self.assertRegexp( 'ddg search en.wikipedia.org', 'Wikipedia, the free encyclopedia\x02 - '