[clangd] Account for vendor in version string

The vendor will be prefixed to the "clangd" and can be an arbitrary
string, so account for it in the test.

Reviewed By: sammccall

Differential Revision: https://reviews.llvm.org/D90517
This commit is contained in:
Shoaib Meenai 2020-10-30 17:43:41 -07:00
parent 4e4ab8e015
commit 6bd01b8184
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
# RUN: env CLANGD_FLAGS=-index-file=no-such-index not clangd -lit-test </dev/null 2>&1 >/dev/null | FileCheck %s
CHECK: I[{{.*}}] clangd version {{.*}}
CHECK: I[{{.*}}]{{.*}} clangd version {{.*}}
CHECK: Working directory: {{.*}}
CHECK: argv[0]: clangd
CHECK: argv[1]: -lit-test