From eaa53f25c01914b33cfb1fe1f1036bc7bc784416 Mon Sep 17 00:00:00 2001 From: micbou Date: Wed, 30 Jan 2019 14:12:24 +0100 Subject: [PATCH] Relax regexp in DebugInfo test --- python/ycm/tests/youcompleteme_test.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/python/ycm/tests/youcompleteme_test.py b/python/ycm/tests/youcompleteme_test.py index 1de1dd8a..bef0c3f3 100644 --- a/python/ycm/tests/youcompleteme_test.py +++ b/python/ycm/tests/youcompleteme_test.py @@ -214,15 +214,11 @@ def YouCompleteMe_DebugInfo_ServerRunning_test( ycm ): 'Client logfile: .+\n' 'Server Python interpreter: .+\n' 'Server Python version: .+\n' - 'Server has Clang support compiled in: ' - '(?PTrue)?(?(CLANG)|False)\n' + 'Server has Clang support compiled in: (False|True)\n' 'Clang version: .+\n' 'Extra configuration file found and loaded\n' 'Extra configuration path: .*testdata[/\\\\]\\.ycm_extra_conf\\.py\n' - '(?(CLANG)C-family completer debug information:\n' - ' Compilation database path: None\n' - ' Flags: \\[u?\'_TEMP_FILE_\'.*\\]\n' - ' Translation unit: .+\n)' + '[\\w\\W]*' 'Server running at: .+\n' 'Server process ID: \\d+\n' 'Server logfiles:\n'