From a7183766b95d43700ddc583b9e9f5d4bcfa91e58 Mon Sep 17 00:00:00 2001 From: Nick Cameron Date: Thu, 6 Apr 2017 13:06:11 +1200 Subject: [PATCH] Test fallout --- tests/source/expr-block.rs | 2 +- tests/target/expr-block.rs | 10 +++++++--- tests/target/expr.rs | 6 ++++-- tests/target/hard-tabs.rs | 6 ++++-- 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/tests/source/expr-block.rs b/tests/source/expr-block.rs index a5c93a5e2f2..d7f7c610eb3 100644 --- a/tests/source/expr-block.rs +++ b/tests/source/expr-block.rs @@ -6,7 +6,7 @@ fn arrays() { [ ]; let empty = []; - let foo = [a_long_name, a_very_lng_name, a_long_name, a_very_lng_name, a_long_name]; + let foo = [a_long_name, a_very_lng_name, a_long_name]; let foo = [a_long_name, a_very_lng_name, a_long_name, a_very_lng_name, a_long_name, a_very_lng_name, a_long_name, a_very_lng_name]; diff --git a/tests/target/expr-block.rs b/tests/target/expr-block.rs index 99f0d2fbf50..f7a157cf3df 100644 --- a/tests/target/expr-block.rs +++ b/tests/target/expr-block.rs @@ -6,7 +6,7 @@ fn arrays() { []; let empty = []; - let foo = [a_long_name, a_very_lng_name, a_long_name, a_very_lng_name, a_long_name]; + let foo = [a_long_name, a_very_lng_name, a_long_name]; let foo = [ a_long_name, @@ -104,8 +104,12 @@ fn arrays() { ], ); - let z = - [xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, yyyyyyyyyyyyyyyyyyyyyyyyyyy, zzzzzzzzzzzzzzzzz, q]; + let z = [ + xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, + yyyyyyyyyyyyyyyyyyyyyyyyyyy, + zzzzzzzzzzzzzzzzz, + q, + ]; [1 + 3, 4, 5, 6, 7, 7, fncall::>(3 - 1)] } diff --git a/tests/target/expr.rs b/tests/target/expr.rs index c2a39cc5bbc..5cd5452fd27 100644 --- a/tests/target/expr.rs +++ b/tests/target/expr.rs @@ -190,8 +190,10 @@ fn arrays() { item: 3, }]); - let z = - [xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, yyyyyyyyyyyyyyyyyyyyyyyyyyy, zzzzzzzzzzzzzzzzzz, q]; + let z = [xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, + yyyyyyyyyyyyyyyyyyyyyyyyyyy, + zzzzzzzzzzzzzzzzzz, + q]; [1 + 3, 4, 5, 6, 7, 7, fncall::>(3 - 1)] } diff --git a/tests/target/hard-tabs.rs b/tests/target/hard-tabs.rs index 7fbeb88c4f5..8782ecd87f3 100644 --- a/tests/target/hard-tabs.rs +++ b/tests/target/hard-tabs.rs @@ -57,8 +57,10 @@ fn foo(a: i32, .go_to_next_line_with_tab() .go_to_next_line_with_tab(); - let z = - [xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, yyyyyyyyyyyyyyyyyyyyyyyyyyy, zzzzzzzzzzzzzzzzzz, q]; + let z = [xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, + yyyyyyyyyyyyyyyyyyyyyyyyyyy, + zzzzzzzzzzzzzzzzzz, + q]; fn generic(arg: T) -> &SomeType where T: Fn(// First arg