This is an archive of the discontinued LLVM Phabricator instance.

[lldb][Test] Replace expect() with expect_expr() in TestNamespaceLookup.py
ClosedPublic

Authored by Michael137 on Aug 19 2022, 5:57 PM.

Details

Summary

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

Diff Detail

Event Timeline

Michael137 created this revision.Aug 19 2022, 5:57 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 19 2022, 5:57 PM
Michael137 requested review of this revision.Aug 19 2022, 5:57 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 19 2022, 5:57 PM
  • Don't need replacement on one of the assertions
labath accepted this revision.Aug 22 2022, 1:20 AM
This revision is now accepted and ready to land.Aug 22 2022, 1:20 AM