[lldb][Test] Replace expect() with expect_expr() in TestNamespaceLookup.py
authorMichael Buch <michaelbuch12@gmail.com>
Sat, 20 Aug 2022 00:47:41 +0000 (01:47 +0100)
committerMichael Buch <michaelbuch12@gmail.com>
Mon, 22 Aug 2022 12:22:19 +0000 (13:22 +0100)
commit6f19f98710f897ecaf148f42da6eec9d14631449
tree9f474acdba9a3df18ea421979316c033cd70621e
parent494b6c46d6aadcf1f659634f719768e9ff6fef17
[lldb][Test] Replace expect() with expect_expr() in TestNamespaceLookup.py

This will be useful in preparation for some reshuffling
of assertions in this file since we won't have to
adjust the persitent variable names during the process.

sed commands:
```
s/expect("expr -- /expect_expr("/g
s/startstr="(int) [$0-9]* = /result_type="int", result_value="/g
```

**Testing**

* API tests still pass

Differential Revision: https://reviews.llvm.org/D132271
lldb/test/API/lang/cpp/namespace/TestNamespaceLookup.py