From 22cbe40fa99795766f352c08a7c0748704c9d2d5 Mon Sep 17 00:00:00 2001 From: Mehdi Amini Date: Sat, 15 Aug 2020 21:37:11 +0000 Subject: [PATCH] Slightly relax the regex on lld version in test (NFC) This makes the test introduced in 537f5483fe4e more robust with respect to the actual version number. The previous regex restricted the version to start with a leading `1` which was overly restrictive. --- lld/test/MachO/lc-build-version.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lld/test/MachO/lc-build-version.s b/lld/test/MachO/lc-build-version.s index 99e0ccd..c1b93b9 100644 --- a/lld/test/MachO/lc-build-version.s +++ b/lld/test/MachO/lc-build-version.s @@ -10,7 +10,7 @@ # CHECK-NEXT: minos 10.14.1 # CHECK-NEXT: ntools 1 # CHECK-NEXT: tool ld -# CHECK-NEXT: version {{[1-9][0-9]\.[0-9]+}} +# CHECK-NEXT: version {{[0-9\.]+}} # CHECK-NEXT: Load command [[#]] .text -- 2.7.4