Skip to content

Commit 3b5d59a

Browse files
authored
[lldb][test] Turn ObjC string literals to C-style literals (NFC) (#69793)
The underlying timezone classes are being reimplemented in Swift, and these strings will be Swift strings, without the ObjC `@` prefix. Leaving off the `@` makes these tests usable both before and after the reimplmentation of Foundation in Swift.
1 parent 9b381c6 commit 3b5d59a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSDate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ def nsdate_data_formatter_commands(self):
5353

5454
self.expect(
5555
"frame variable cupertino home europe",
56-
substrs=['@"America/Los_Angeles"', '@"Europe/Rome"', '@"Europe/Paris"'],
56+
substrs=['"America/Los_Angeles"', '"Europe/Rome"', '"Europe/Paris"'],
5757
)
5858

5959
self.expect(
6060
"frame variable cupertino_ns home_ns europe_ns",
61-
substrs=['@"America/Los_Angeles"', '@"Europe/Rome"', '@"Europe/Paris"'],
61+
substrs=['"America/Los_Angeles"', '"Europe/Rome"', '"Europe/Paris"'],
6262
)
6363

6464
self.expect(

0 commit comments

Comments
 (0)