Move onion failure tests from functional_tests to their own file
authorMatt Corallo <git@bluematt.me>
Mon, 14 Sep 2020 20:49:05 +0000 (16:49 -0400)
committerMatt Corallo <git@bluematt.me>
Wed, 16 Sep 2020 15:12:51 +0000 (11:12 -0400)
commita8be9af7d3af020d64a0c7a4638eeb27c4bb3977
tree4da0eefe18898b23c2ccd3adfd20c3a7fffab69c
parent49e0a8ce7b2f8482ceca97049cf0f1471b7aa524
Move onion failure tests from functional_tests to their own file

They all have a specific structure, so having them in the mess that
is functional_tests isn't really conducive to readability. More
importantly, functional_tests is so big it slows down compilation,
so even dropping a few hundred lines is a win.
lightning/src/ln/functional_tests.rs
lightning/src/ln/mod.rs
lightning/src/ln/onion_route_tests.rs [new file with mode: 0644]