mirror of
https://github.com/siemens-mobile-hacks/llvm-c166.git
synced 2026-11-26 16:40:56 +00:00
[lldb/test] Relax NSBundle formatter test for Darwin embedded platforms (#193659)
Some Foundation APIs have been migrated from Objective-C to Swift while maintaining backward compatibility. For instance, that can cause `NSBundle` created via `initWithURL:` to format without the `@"..."` prefix. Match the path string without requiring the @ prefix so the test passes with both the ObjC and Swift implementations rdar://175394563 Signed-off-by: Med Ismail Bennani <ismail@bennani.ma>
This commit is contained in:
parent
0ff393f5da
commit
8212cab412
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ class ObjCDataFormatterNSBundle(ObjCDataFormatterTestCase):
|
|||
"(NSBundle *) bundle_string = ",
|
||||
' @"/System/Library/Frameworks/Accelerate.framework"',
|
||||
"(NSBundle *) bundle_url = ",
|
||||
' @"/System/Library/Frameworks/Foundation.framework"',
|
||||
' "/System/Library/Frameworks/Foundation.framework"',
|
||||
"(NSBundle *) main_bundle = ",
|
||||
"data-formatter-objc",
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue