Files
clang-p2996/lldb/test/API/functionalities/backticks/TestBackticksWithoutATarget.py
Dave Lee 4076664228 [lldb][test] Replace use of p with expression (NFC)
In API tests, replace use of the `p` alias with the `expression` command.

To avoid conflating tests of the alias with tests of the expression command,
this patch canonicalizes to the use `expression`.

Differential Revision: https://reviews.llvm.org/D141539
2023-01-25 11:03:58 -08:00

20 lines
463 B
Python

"""
Test that backticks without a target should work (not infinite looping).
"""
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
from lldbsuite.test import lldbutil
class BackticksWithNoTargetTestCase(TestBase):
@no_debug_info_test
def test_backticks_no_target(self):
"""A simple test of backticks without a target."""
self.expect("expression `1+2-3`",
substrs=[' = 0'])