tests: fix let chain tests

This commit is contained in:
Caleb Cartwright 2023-10-22 13:30:25 -05:00
parent 75d84974f4
commit c2515dfa41
2 changed files with 9 additions and 8 deletions

View File

@ -5,11 +5,11 @@ fn main() {
if aaaaaaaaaaaaaaaaaaaaa && aaaaaaaaaaaaaaa && aaaaaaaaa && let Some(x) = xxxxxxxxxxxx && aaaaaaa && let None = aaaaaaaaaa {} if aaaaaaaaaaaaaaaaaaaaa && aaaaaaaaaaaaaaa && aaaaaaaaa && let Some(x) = xxxxxxxxxxxx && aaaaaaa && let None = aaaaaaaaaa {}
if aaaaaaaaaaaaaaaaaaaaa && aaaaaaaaaaaaaaa || aaaaaaaaa && let Some(x) = xxxxxxxxxxxx && aaaaaaa && let None = aaaaaaaaaa {} if aaaaaaaaaaaaaaaaaaaaa && aaaaaaaaaaaaaaa && aaaaaaaaa && let Some(x) = xxxxxxxxxxxx && aaaaaaa && let None = aaaaaaaaaa {}
if let Some(Struct { x:TS(1,2) }) = path::to::<_>(hehe) if let Some(Struct { x:TS(1,2) }) = path::to::<_>(hehe)
&& let [Simple, people] = /* get ready */ create_universe(/* hi */ GreatPowers).initialize_badminton().populate_swamps() && && let [Simple, people] = /* get ready */ create_universe(/* hi */ GreatPowers).initialize_badminton().populate_swamps() &&
let everybody = (Loops { hi /*hi*/ , ..loopy() }) || summons::triumphantly() { todo!() } let everybody = (Loops { hi /*hi*/ , ..loopy() }) && summons::triumphantly() { todo!() }
if let XXXXXXXXX { xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, yyyyyyyyyyyyy, zzzzzzzzzzzzz} = xxxxxxx() if let XXXXXXXXX { xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, yyyyyyyyyyyyy, zzzzzzzzzzzzz} = xxxxxxx()
&& let Foo = bar() { todo!() } && let Foo = bar() { todo!() }

View File

@ -13,8 +13,9 @@ fn main() {
&& let None = aaaaaaaaaa && let None = aaaaaaaaaa
{} {}
if aaaaaaaaaaaaaaaaaaaaa && aaaaaaaaaaaaaaa if aaaaaaaaaaaaaaaaaaaaa
|| aaaaaaaaa && aaaaaaaaaaaaaaa
&& aaaaaaaaa
&& let Some(x) = xxxxxxxxxxxx && let Some(x) = xxxxxxxxxxxx
&& aaaaaaa && aaaaaaa
&& let None = aaaaaaaaaa && let None = aaaaaaaaaa
@ -29,7 +30,7 @@ fn main() {
hi, /*hi*/ hi, /*hi*/
..loopy() ..loopy()
}) })
|| summons::triumphantly() && summons::triumphantly()
{ {
todo!() todo!()
} }