about summary refs log tree commit diff
path: root/tests/source
diff options
context:
space:
mode:
authorStanislav Tkach <stanislav.tkach@xdev.re>2017-04-19 17:49:03 +0300
committerStanislav Tkach <stanislav.tkach@xdev.re>2017-04-19 17:49:03 +0300
commitb53aeebbcff40b91c1c19424db2393118a5ae335 (patch)
treec244b72dcfda6dcb7424dba451c803d340a4de85 /tests/source
parentb4833a8c581f92e87eeb0f5a6f11719f4eb94092 (diff)
Fix line length calculation (should be in chars, not bytes)
Diffstat (limited to 'tests/source')
-rw-r--r--tests/source/max-line-length-in-chars.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/source/max-line-length-in-chars.rs b/tests/source/max-line-length-in-chars.rs
new file mode 100644
index 00000000000..d49fbb7e30e
--- /dev/null
+++ b/tests/source/max-line-length-in-chars.rs
@@ -0,0 +1,4 @@
+// rustfmt-max_width: 25
+
+// абвгдеёжзийклмнопрст
+fn main() {}