about summary refs log tree commit diff
path: root/tests/source/configs-array_width-below.rs
diff options
context:
space:
mode:
authorVincent Esche <regexident@gmail.com>2017-04-30 23:49:39 +0200
committerVincent Esche <regexident@gmail.com>2017-05-01 15:58:04 +0200
commit16b91be3e6a368d4358619269e89fdd163990da9 (patch)
tree007327089b2379dcb2a4f7344183412db8109421 /tests/source/configs-array_width-below.rs
parentb4833a8c581f92e87eeb0f5a6f11719f4eb94092 (diff)
Add source/target tests for each config option
Diffstat (limited to 'tests/source/configs-array_width-below.rs')
-rw-r--r--tests/source/configs-array_width-below.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/source/configs-array_width-below.rs b/tests/source/configs-array_width-below.rs
new file mode 100644
index 00000000000..d76d539773a
--- /dev/null
+++ b/tests/source/configs-array_width-below.rs
@@ -0,0 +1,6 @@
+// rustfmt-array_width: 100
+// Array width
+
+fn main() {
+    let lorem = vec!["ipsum", "dolor", "sit", "amet", "consectetur", "adipiscing", "elit"];
+}