Fix debug info test when ycmd is compiled with C-family support

This commit is contained in:
micbou 2018-03-12 00:56:20 +01:00
parent d4cddbcc7f
commit 1df76bbb39
No known key found for this signature in database
GPG Key ID: C7E8FD1F3BDA1E05

View File

@ -207,7 +207,8 @@ def YouCompleteMe_DebugInfo_ServerRunning_test( ycm ):
'Extra configuration path: .*testdata[/\\\\]\\.ycm_extra_conf\\.py\n' 'Extra configuration path: .*testdata[/\\\\]\\.ycm_extra_conf\\.py\n'
'(?(CLANG)C-family completer debug information:\n' '(?(CLANG)C-family completer debug information:\n'
' Compilation database path: None\n' ' Compilation database path: None\n'
' Flags: \\[\'_TEMP_FILE_\'.*\\]\n)' ' Flags: \\[\'_TEMP_FILE_\'.*\\]\n'
' Translation unit: .+\n)'
'Server running at: .+\n' 'Server running at: .+\n'
'Server process ID: \d+\n' 'Server process ID: \d+\n'
'Server logfiles:\n' 'Server logfiles:\n'