Add a test for assignment whose lhs is exactly 100 chars

This commit is contained in:
topecongiro 2017-11-21 08:50:55 +09:00
parent 1952459278
commit c2804589a1
2 changed files with 11 additions and 0 deletions

View file

@ -45,6 +45,11 @@ some_ridiculously_loooooooooooooooooooooong_function(10000 * 30000000000 + 40000
+ 2 + 3 {
}
if let ast::ItemKind::Trait(_, unsafety, ref generics, ref type_param_bounds, ref trait_items) = item.node
{
// nothing
}
let test = if true { 5 } else { 3 };
if cond() {

View file

@ -70,6 +70,12 @@ fn foo() -> bool {
) = 1 + 2 + 3
{}
if let ast::ItemKind::Trait(_, unsafety, ref generics, ref type_param_bounds, ref trait_items) =
item.node
{
// nothing
}
let test = if true { 5 } else { 3 };
if cond() {