From c0997260bacbf947fe1bef817aba29fa3f50f7f7 Mon Sep 17 00:00:00 2001 From: Seiichi Uchida Date: Sun, 1 Oct 2017 21:21:20 +0900 Subject: [PATCH] Update tests --- tests/source/assignment.rs | 3 +++ tests/target/assignment.rs | 4 ++++ tests/target/configs-force_format_strings-false.rs | 3 ++- tests/target/configs-format_strings-false.rs | 3 ++- tests/target/hard-tabs.rs | 3 ++- 5 files changed, 13 insertions(+), 3 deletions(-) diff --git a/tests/source/assignment.rs b/tests/source/assignment.rs index 95c730f0445..d5860532086 100644 --- a/tests/source/assignment.rs +++ b/tests/source/assignment.rs @@ -25,3 +25,6 @@ fn break_meee() { }; } } + +// #2018 +pub const EXPLAIN_UNSIZED_TUPLE_COERCION: &'static str = "Unsized tuple coercion is not stable enough for use and is subject to change"; diff --git a/tests/target/assignment.rs b/tests/target/assignment.rs index 1bd7dbc1d91..4e8689ed23e 100644 --- a/tests/target/assignment.rs +++ b/tests/target/assignment.rs @@ -30,3 +30,7 @@ fn break_meee() { }; } } + +// #2018 +pub const EXPLAIN_UNSIZED_TUPLE_COERCION: &'static str = + "Unsized tuple coercion is not stable enough for use and is subject to change"; diff --git a/tests/target/configs-force_format_strings-false.rs b/tests/target/configs-force_format_strings-false.rs index 49f32c557b3..6588e83696c 100644 --- a/tests/target/configs-force_format_strings-false.rs +++ b/tests/target/configs-force_format_strings-false.rs @@ -5,5 +5,6 @@ // Force format strings fn main() { - let lorem = "ipsum dolor sit amet consectetur adipiscing elit lorem ipsum dolor sit"; + let lorem = + "ipsum dolor sit amet consectetur adipiscing elit lorem ipsum dolor sit"; } diff --git a/tests/target/configs-format_strings-false.rs b/tests/target/configs-format_strings-false.rs index ecca0d7d1fc..92616f7d8a1 100644 --- a/tests/target/configs-format_strings-false.rs +++ b/tests/target/configs-format_strings-false.rs @@ -4,5 +4,6 @@ // Force format strings fn main() { - let lorem = "ipsum dolor sit amet consectetur adipiscing elit lorem ipsum dolor sit"; + let lorem = + "ipsum dolor sit amet consectetur adipiscing elit lorem ipsum dolor sit"; } diff --git a/tests/target/hard-tabs.rs b/tests/target/hard-tabs.rs index e1d506787af..6babc7c1527 100644 --- a/tests/target/hard-tabs.rs +++ b/tests/target/hard-tabs.rs @@ -19,7 +19,8 @@ fn main() { fn foo(a: i32, a: i32, a: i32, a: i32, a: i32, a: i32, a: i32, a: i32, a: i32, a: i32, a: i32) { } - let str = "AAAAAAAAAAAAAAaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAaAa"; + let str = + "AAAAAAAAAAAAAAaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAaAa"; if let ( some_very_large,