From 7ea1511f94dffb68da6241bc4d2e7128e652355a Mon Sep 17 00:00:00 2001 From: Vera Mitchell Date: Thu, 4 Apr 2024 10:28:08 -0600 Subject: [PATCH] update test to work with condensed clang symbol graphs --- test/PrintAsObjC/compatibility-symbols.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/PrintAsObjC/compatibility-symbols.swift b/test/PrintAsObjC/compatibility-symbols.swift index fc45edd623036..d581fa508de23 100644 --- a/test/PrintAsObjC/compatibility-symbols.swift +++ b/test/PrintAsObjC/compatibility-symbols.swift @@ -8,4 +8,6 @@ // Make sure that any macros or typedefs added to the Clang compatibility header are reflected in // the `comptibility-symbols` file that is installed in the toolchain. -// CHECK: "symbols": [] +// Use a regex match here to allow the Clang symbol graph to be pretty-printed or condensed + +// CHECK: "symbols":{{ ?}}[]