From 6bd01b8184de93979756331c71af69b422f71103 Mon Sep 17 00:00:00 2001 From: Shoaib Meenai Date: Fri, 30 Oct 2020 17:43:41 -0700 Subject: [PATCH] [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 --- clang-tools-extra/clangd/test/log.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang-tools-extra/clangd/test/log.test b/clang-tools-extra/clangd/test/log.test index 68d6d29c6120..5d60c10eb917 100644 --- a/clang-tools-extra/clangd/test/log.test +++ b/clang-tools-extra/clangd/test/log.test @@ -1,5 +1,5 @@ # RUN: env CLANGD_FLAGS=-index-file=no-such-index not clangd -lit-test &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