From 1df76bbb396109d27f675992050d412700314a1a Mon Sep 17 00:00:00 2001 From: micbou Date: Mon, 12 Mar 2018 00:56:20 +0100 Subject: [PATCH] Fix debug info test when ycmd is compiled with C-family support --- python/ycm/tests/youcompleteme_test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/ycm/tests/youcompleteme_test.py b/python/ycm/tests/youcompleteme_test.py index 8d8d9690..a939a006 100644 --- a/python/ycm/tests/youcompleteme_test.py +++ b/python/ycm/tests/youcompleteme_test.py @@ -207,7 +207,8 @@ def YouCompleteMe_DebugInfo_ServerRunning_test( ycm ): 'Extra configuration path: .*testdata[/\\\\]\\.ycm_extra_conf\\.py\n' '(?(CLANG)C-family completer debug information:\n' ' Compilation database path: None\n' - ' Flags: \\[\'_TEMP_FILE_\'.*\\]\n)' + ' Flags: \\[\'_TEMP_FILE_\'.*\\]\n' + ' Translation unit: .+\n)' 'Server running at: .+\n' 'Server process ID: \d+\n' 'Server logfiles:\n'