Make `expect_payment_failed_conditions` a function 2022-05-macro-function-bonus
authorMatt Corallo <git@bluematt.me>
Fri, 20 May 2022 02:56:59 +0000 (02:56 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 9 Jun 2022 11:35:41 +0000 (11:35 +0000)
commit70acdf93d1280e77b5aa9385a25702b1f7915c50
tree906f72e7711a6b6d9718f96885156f46da176cd0
parent8e5cf757717398bb8a3dd83dd751c8065ac5aebe
Make `expect_payment_failed_conditions` a function

This reduces macro generated code in tests a good bit, and moves us
one step further away from using macros everywhere when we don't
need to.
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs
lightning/src/ln/onion_route_tests.rs
lightning/src/ln/payment_tests.rs
lightning/src/ln/priv_short_conf_tests.rs