Skip to content

Commit f4f687f

Browse files
committed
Fix test for linux
1 parent 0d267ec commit f4f687f

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

lldb/test/API/commands/command/language/TestFrameLanguageCommands.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,14 @@ def test(self):
3737

3838
# Ensure `demangle` doesn't resolve from the objc frame.
3939
self.expect("help demangle", error=True)
40+
4041
# Run a `language objc` command.
4142
self.expect(
42-
"tagged-pointer info 0",
43-
error=True,
44-
startstr="error: could not convert '0' to a valid address",
43+
"tagged-pointer",
44+
substrs=[
45+
"Commands for operating on Objective-C tagged pointers.",
46+
"Syntax: tagged-pointer <subcommand> [<subcommand-options>]",
47+
"The following subcommands are supported:",
48+
"info -- Dump information on a tagged pointer.",
49+
],
4550
)

0 commit comments

Comments
 (0)