rust/tests/target
Nick Cameron 02302d2800 Don't reformat strings if we don't have to.
Specifically if no line exceeds the allowed width and we aren't moving the string to a new offset
2016-01-28 19:14:08 +13:00
..
nested_skipped test ignored out of line modules 2015-12-24 00:15:29 +03:00
nestedmod Fix empty body format, add fn_empty_single_line option, refactor block tests 2015-11-19 20:45:02 -06:00
assignment.rs Format assignment 2015-08-25 21:43:13 +02:00
attrib-extern-crate.rs implement framework for system tests 2015-06-05 17:50:22 +02:00
attrib.rs Fix empty body format, add fn_empty_single_line option, refactor block tests 2015-11-19 20:45:02 -06:00
chains-block-indented-base.rs Deal with floating links in chains 2015-10-22 22:30:01 +02:00
chains-indent-inherit.rs new config 'chain_indent' 2015-11-14 21:50:40 +01:00
chains-indent-tabbed.rs new config 'chain_indent' 2015-11-14 21:50:40 +01:00
chains-indent-visual.rs new config 'chain_indent' 2015-11-14 21:50:40 +01:00
chains-no-overflow.rs Restore idempotence for chain formatting 2015-10-23 20:37:45 +02:00
chains-no-overlow-2.rs Refine chain breaking heuristics 2015-09-11 00:53:01 +02:00
chains.rs Fix span issue with generic method calls 2015-11-13 14:53:34 +01:00
closure.rs Fix large block comments 2015-10-19 23:06:36 +02:00
comment2.rs Option to disable line breaking in comments 2015-11-10 08:03:01 +13:00
comment3.rs Option to disable line breaking in comments 2015-11-10 08:03:01 +13:00
comment4.rs Add normalise_comments option. 2015-12-10 09:29:03 +13:00
comment_crlf_newline.rs Avoid adding an extra newline after block comments 2015-11-20 23:31:05 +01:00
comment-not-disappear.rs Removed the failing test part since it will work when #754 is accepted 2016-01-12 03:09:19 +01:00
comment.rs Fix #784 2016-01-27 02:18:05 +01:00
comments-fn.rs Fix empty body format, add fn_empty_single_line option, refactor block tests 2015-11-19 20:45:02 -06:00
doc.rs Fix large block comments 2015-10-19 23:06:36 +02:00
empty_file.rs Add unittest for #115 2015-08-28 22:59:36 +02:00
enum-no_trailing_comma.rs Honor "enum_trailing_comma" option. Fixes #556 2015-11-03 23:57:31 +01:00
enum.rs Option to disable line breaking in comments 2015-11-10 08:03:01 +13:00
expr-no-hints.rs Refine chain breaking heuristics 2015-09-11 00:53:01 +02:00
expr.rs fixes parsing issue #767 2016-01-12 21:13:59 +01:00
extern.rs Format bare function types 2015-11-22 16:07:38 +01:00
fn_once.rs Fix 1-tuple regression. 2015-10-01 11:06:49 -07:00
fn-custom-2.rs Support where predicates on the same line 2015-09-01 18:53:16 +12:00
fn-custom-3.rs Support where predicates on the same line 2015-09-01 18:53:16 +12:00
fn-custom-4.rs Support where clauses on the same line as the function decl where it all fits on one line. 2015-09-02 07:59:54 +12:00
fn-custom-5.rs Support where clause predicates at different indentations 2015-09-01 19:04:41 +12:00
fn-custom-6.rs Support struct-like layouts for fn args 2015-09-02 09:41:08 +12:00
fn-custom.rs Fixup tests 2015-09-27 19:39:58 +13:00
fn-simple.rs Break function headers earlier 2015-12-01 22:09:37 +01:00
fn-single-line.rs Where clause is on same line as fn if fn is empty fix-#760 2016-01-10 22:06:06 -07:00
fn-ty.rs Types which can be return types for function types 2015-11-23 13:55:53 +13:00
fn.rs Where clause is on same line as fn if fn is empty fix-#760 2016-01-10 22:06:06 -07:00
hard-tabs.rs Fix up indentation of function style paths 2015-11-22 14:48:30 +01:00
hello.rs implement framework for system tests 2015-06-05 17:50:22 +02:00
impl.rs Keep comments in empty impl bodies 2015-11-24 12:55:32 -06:00
impls.rs If where is on the same line as the impl, { is put on the same line fixes #650 2016-01-11 21:26:45 -07:00
imports-reorder.rs Add option to override single configuration lines for tests 2015-08-19 21:51:03 +02:00
imports.rs Correct doc comment indentation for struct fields 2015-11-22 22:55:57 +01:00
issue-64.rs Add regression test for UFCS formatting error 2015-06-08 18:34:53 +02:00
issue-447.rs Handle more possible comment position for if else 2016-01-12 03:08:48 +01:00
issue-510.rs Address some issues with multiline patterns in let statements 2015-10-24 13:13:15 +02:00
item-brace-style-always-next-line.rs Properly follow the brace styles. 2015-11-18 22:34:14 -08:00
item-brace-style-prefer-same-line.rs Properly follow the brace styles. 2015-11-18 22:34:14 -08:00
item-brace-style-same-line-where.rs Properly follow the brace styles. 2015-11-18 22:34:14 -08:00
long_field_access.rs Fix long field accesses not being broken onto separate lines 2015-11-21 01:05:31 +01:00
long-fn-1.rs implement framework for system tests 2015-06-05 17:50:22 +02:00
loop.rs Handle span error with continue 2015-08-20 08:11:14 +12:00
macro_not_expr.rs Add test for a macro not containing an exprssion 2015-10-23 13:46:14 -07:00
macros.rs Add item macro tests 2016-01-24 13:11:18 -06:00
match-block-trailing-comma.rs Update trailing comma match logic, add tests 2015-12-01 20:10:57 +13:00
match-nowrap-trailing-comma.rs Update trailing comma match logic, add tests 2015-12-01 20:10:57 +13:00
match-nowrap.rs Add option to disable (un)wrapping of match arms 2015-11-20 21:50:25 +01:00
match-wildcard-trailing-comma.rs Trailing commas for wildcard arms 2016-01-06 11:02:01 +09:00
match.rs Add commas after skipped arms when needed 2016-01-08 22:15:54 +09:00
mod_skip_child.rs test ignored out of line modules 2015-12-24 00:15:29 +03:00
mod-1.rs Rewrite module declarations 2015-11-21 21:06:29 +01:00
mod-2.rs Rewrite module declarations 2015-11-21 21:06:29 +01:00
mulit-file.rs Handle multiply-referenced files 2015-11-23 15:22:00 +13:00
multiple.rs Take rustfmt_skip attribute into account on modules 2015-11-23 09:20:53 +13:00
no_new_line_beginning.rs Fix empty body format, add fn_empty_single_line option, refactor block tests 2015-11-19 20:45:02 -06:00
other.rs Add a terrible, but useful, test which I used locally 2015-06-11 14:36:31 +12:00
paths.rs Detect when comments disappear 2016-01-10 15:20:58 +01:00
pattern.rs Reformatting due to changes 2015-11-23 13:09:00 +13:00
single-line-if-else.rs Prevent nested if-else from being put on a single line. 2015-08-25 22:52:33 +02:00
skip.rs implement framework for system tests 2015-06-05 17:50:22 +02:00
static.rs Format visibility for statics and consts 2015-10-19 20:08:03 +02:00
string_punctuation.rs Added punctuation preference 2015-10-02 08:37:21 -05:00
string-lit-2.rs Don't reformat strings if we don't have to. 2016-01-28 19:14:08 +13:00
string-lit-custom.rs Format strings option https://github.com/nrc/rustfmt/issues/202 2015-09-01 08:14:52 -04:00
string-lit.rs Don't reformat strings if we don't have to. 2016-01-28 19:14:08 +13:00
struct_lits_multiline.rs Comments in structs use appropriate style 2015-11-17 11:57:49 +13:00
struct_lits_visual_multiline.rs Option to disable line breaking in comments 2015-11-10 08:03:01 +13:00
struct_lits_visual.rs Fix last comment for visually formatted struct lits 2015-11-22 17:41:54 +01:00
struct_lits.rs Fix an off-by-one error due to the comma in a struct lit field 2016-01-14 20:26:15 +13:00
structs.rs Fixed named arguments in bare function types 2015-12-06 01:11:26 +01:00
trait.rs Add regression test for overlong trait methods 2015-12-02 21:08:09 +01:00
tuple.rs Fix tests 2015-09-26 13:58:12 +12:00
type_alias.rs Don't remove where clauses in type aliases 2015-12-02 20:11:17 +01:00
type-punctuation.rs Added test case 2016-01-12 13:51:32 -07:00
type.rs Format some patterns 2015-10-19 20:15:36 +02:00
where-clause.rs Fix where clauses not taking the width of the line into account 2015-11-27 09:27:41 +01:00
where-trailing-comma.rs Added tests. 2016-01-26 16:55:51 +11:00