rust/tests/target
David Wood ef8b2efd13 Fix off-by-one error in assert_eq! line wrapping
If two really long conditions are checked for equality, they wouldn't be split
into multiple lines if the last condition is the one to push the line past the
width limit.

Fix the off-by-one error that caused this, and add a test-case for it.
2017-12-23 01:32:55 +00:00
..
nested_skipped Reformat tests 2017-06-13 14:42:54 +12:00
nestedmod Update tests 2017-11-10 17:08:26 +09:00
assignment.rs Update tests 2017-10-01 21:21:20 +09:00
associated-items.rs Don't misplace the :: on associated items. 2016-05-02 17:11:22 -07:00
associated-types-bounds-wrapping.rs Fix wrapping of bounds in associated types 2017-08-19 15:30:53 -07:00
associated_type_defaults.rs Allow default associated types 2017-05-26 17:17:12 +09:00
attrib-extern-crate.rs Format source codes and update tests 2017-08-09 00:16:35 +09:00
attrib.rs Format long derive 2017-09-03 08:14:00 +09:00
big-impl-rfc.rs Update a test 2017-11-18 15:46:01 +09:00
big-impl.rs Rebasing 2017-06-13 14:49:47 +12:00
break-and-continue.rs Update to the latest syntex module 2016-12-23 11:20:07 -08:00
catch.rs Implement catch 2017-06-06 07:32:06 +02:00
chains-indent-tabbed.rs Change chain_indent to indent_style 2017-11-13 17:33:32 +09:00
chains-indent-visual.rs Change chain_indent to indent_style 2017-11-13 17:33:32 +09:00
chains-visual.rs Add a test fot #2264 2017-12-10 23:38:30 +09:00
chains.rs Add a test for #2157 2017-12-05 10:02:49 +09:00
closure-block-inside-macro.rs Replace '_indent' with 'indent_style' 2017-11-13 17:33:32 +09:00
closure.rs Take the width of block's prefix into account only once 2017-12-20 15:44:11 +09:00
comment-inside-const.rs Use recover_comment_removed in rewrite_static 2017-06-04 18:44:08 +09: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 Add a test for #1603 2017-11-15 15:44:27 +09:00
comment2.rs Put empty modules on one line 2016-01-28 19:53:41 +13:00
comment3.rs Put empty modules on one line 2016-01-28 19:53:41 +13:00
comment4.rs Use the last line's width for indent width in rewriting missed span 2017-09-05 16:54:02 +09:00
comment5.rs Allow longer custom comment 2017-05-30 08:46:25 +09:00
comment_crlf_newline.rs make rustfmt-normalize_comments false by default 2017-01-16 14:50:27 +13:00
comments-fn.rs Cover missing comments before and after where 2017-07-10 14:38:16 +09:00
configs-array_indent-block.rs Replace '_indent' with 'indent_style' 2017-11-13 17:33:32 +09:00
configs-array_indent-visual.rs Replace '_indent' with 'indent_style' 2017-11-13 17:33:32 +09:00
configs-blank_lines_lower_bound-1.rs Add a test for 'blank_lines_lower_bound = 1' 2017-12-05 17:38:07 +09:00
configs-chain_indent-block.rs Change chain_indent to indent_style 2017-11-13 17:33:32 +09:00
configs-chain_indent-visual.rs Change chain_indent to indent_style 2017-11-13 17:33:32 +09:00
configs-combine_control_expr-false.rs Replace '_indent' with 'indent_style' 2017-11-13 17:33:32 +09:00
configs-combine_control_expr-true.rs Replace '_indent' with 'indent_style' 2017-11-13 17:33:32 +09:00
configs-comment_width-above.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-comment_width-below.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-comment_width-ignore.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-condense_wildcard_suffices-false.rs config: fix suffices -> suffixes typo 2017-05-18 08:03:47 -04:00
configs-condense_wildcard_suffices-true.rs config: fix suffices -> suffixes typo 2017-05-18 08:03:47 -04:00
configs-control_brace_style-always_next_line.rs Modify control_brace_sytle test to ensure match braces are formatted correctly. 2017-06-19 08:12:15 -07:00
configs-control_brace_style-always_same_line.rs Modify control_brace_sytle test to ensure match braces are formatted correctly. 2017-06-19 08:12:15 -07:00
configs-control_brace_style-closing_next_line.rs Modify control_brace_sytle test to ensure match braces are formatted correctly. 2017-06-19 08:12:15 -07:00
configs-control_style-rfc.rs Rename wrap_match_arms to match_arm_blocks 2017-11-27 17:35:27 +13:00
configs-disable_all_formatting-false.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-disable_all_formatting-true.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-empty_item_single_line-false.rs Merge fn_empty_single_line and impl_empty_single_line into empty_item_single_line 2017-11-27 17:46:09 +13:00
configs-empty_item_single_line-true.rs Merge fn_empty_single_line and impl_empty_single_line into empty_item_single_line 2017-11-27 17:46:09 +13:00
configs-error_on_line_overflow-false.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-error_on_unformatted-false.rs Rename error_on_unformatted_comments_or_strings to error_on_unformatted 2017-12-11 11:48:17 +09:00
configs-fn_args_density-compressed.rs Add trailing comma when using Mixed indent style with newline 2017-07-13 20:32:46 +09:00
configs-fn_args_density-tall.rs Reformat tests 2017-06-13 14:42:54 +12:00
configs-fn_args_density-vertical.rs Reformat tests 2017-06-13 14:42:54 +12:00
configs-fn_args_indent-block.rs Replace '_indent' with 'indent_style' 2017-11-13 17:33:32 +09:00
configs-fn_args_indent-visual.rs Replace '_indent' with 'indent_style' 2017-11-13 17:33:32 +09:00
configs-fn_brace_style-always_next_line.rs Combine fn_brace_style and item_brace_style 2017-11-14 10:47:02 +09:00
configs-fn_brace_style-prefer_same_line.rs Combine fn_brace_style and item_brace_style 2017-11-14 10:47:02 +09:00
configs-fn_brace_style-same_line_where.rs Combine fn_brace_style and item_brace_style 2017-11-14 10:47:02 +09:00
configs-fn_call_indent-block-tab_spaces-2.rs Replace '_indent' with 'indent_style' 2017-11-13 17:33:32 +09:00
configs-fn_call_indent-block-trailing-comma.rs Replace '_indent' with 'indent_style' 2017-11-13 17:33:32 +09:00
configs-fn_call_indent-block.rs Add a test for #2262 2017-12-10 21:19:51 +09:00
configs-fn_call_indent-visual-trailing-comma.rs Replace '_indent' with 'indent_style' 2017-11-13 17:33:32 +09:00
configs-fn_call_indent-visual.rs Replace '_indent' with 'indent_style' 2017-11-13 17:33:32 +09:00
configs-fn_single_line-false.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-fn_single_line-true.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-force_explicit_abi-false.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-force_explicit_abi-true.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-force_multiline_block-false.rs Cargo fmt & update a test 2017-11-30 18:07:10 +09:00
configs-force_multiline_block-true.rs Merge multiline_closure_forces_block and multiline_match_arm_forces_block into force_multiline_block 2017-11-27 17:03:54 +13:00
configs-format_strings-false.rs Update tests 2017-11-11 23:16:12 +09:00
configs-format_strings-true.rs Update tests 2017-06-17 16:57:00 +09:00
configs-generics_indent-block.rs Replace '_indent' with 'indent_style' 2017-11-13 17:33:32 +09:00
configs-generics_indent-visual.rs Update tests 2017-11-13 17:33:32 +09:00
configs-hard_tabs-false.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-hard_tabs-true.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-imports_indent-block.rs Recover imports_indent 2017-11-13 17:33:32 +09:00
configs-imports_layout-horizontal_vertical.rs Recover imports_indent 2017-11-13 17:33:32 +09:00
configs-imports_layout-mixed.rs Recover imports_indent 2017-11-13 17:33:32 +09:00
configs-item_brace_style-always_next_line.rs Combine fn_brace_style and item_brace_style 2017-11-14 10:47:02 +09:00
configs-item_brace_style-prefer_same_line.rs Combine fn_brace_style and item_brace_style 2017-11-14 10:47:02 +09:00
configs-item_brace_style-same_line_where.rs Combine fn_brace_style and item_brace_style 2017-11-14 10:47:02 +09:00
configs-match_arm_blocks-false.rs Rename wrap_match_arms to match_arm_blocks 2017-11-27 17:35:27 +13:00
configs-match_arm_blocks-true.rs Rename wrap_match_arms to match_arm_blocks 2017-11-27 17:35:27 +13:00
configs-match_block_trailing_comma-false.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-match_block_trailing_comma-true.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-merge_derives-true.rs Only merge consecutive derives 2017-08-24 23:48:18 +09:00
configs-normalize_comments-false.rs Allow longer custom comment 2017-05-30 08:46:25 +09:00
configs-normalize_comments-true.rs Allow longer custom comment 2017-05-30 08:46:25 +09:00
configs-reorder_imported_names-false.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-reorder_imported_names-true.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-reorder_imports-false.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-reorder_imports-true.rs Update tests 2017-09-15 22:32:03 +09:00
configs-reorder_imports_in_group-false.rs Update tests 2017-09-06 18:48:09 +09:00
configs-reorder_imports_in_group-true.rs reorder imports in group 2017-05-18 13:26:34 +08:00
configs-same_line_attributes-false.rs Some tests I renamed in a previous commit and forgot to git add 2017-11-24 14:46:33 +13:00
configs-same_line_attributes-true.rs Some tests I renamed in a previous commit and forgot to git add 2017-11-24 14:46:33 +13:00
configs-space_before_colon-true.rs Update tests related to colon spacing 2017-11-14 23:25:10 +09:00
configs-spaces_around_ranges-false.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-spaces_around_ranges-true.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-spaces_within_parens_and_brackets-false.rs Update tests related to spaces with parens and brackets 2017-11-14 23:37:27 +09:00
configs-spaces_within_parens_and_brackets-true.rs Fix typos 2017-11-14 23:41:33 +09:00
configs-struct_field_align_threshold-20.rs fix some typos 2017-11-01 07:33:55 +01:00
configs-struct_lit_indent-block.rs Replace '_indent' with 'indent_style' 2017-11-13 17:33:32 +09:00
configs-struct_lit_indent-visual.rs Replace '_indent' with 'indent_style' 2017-11-13 17:33:32 +09:00
configs-struct_lit_single_line-false.rs struct_lit_multiline_style -> struct_lit_single_line (and make it a bool) 2017-11-24 14:45:18 +13:00
configs-tab_spaces-2.rs Replace '_indent' with 'indent_style' 2017-11-13 17:33:32 +09:00
configs-tab_spaces-4.rs Replace '_indent' with 'indent_style' 2017-11-13 17:33:32 +09:00
configs-trailing_comma-always.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-trailing_comma-never.rs Apply config.trailing_comma wherever possible 2017-06-19 16:00:04 +09:00
configs-trailing_comma-vertical.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-trailing_semicolon-false.rs Add trailing_semicolon config option 2017-07-12 14:16:06 +09:00
configs-trailing_semicolon-true.rs Add trailing_semicolon config option 2017-07-12 14:16:06 +09:00
configs-type_punctuation_density-compressed.rs Fixup tests 2017-05-02 11:42:38 +12:00
configs-type_punctuation_density-wide.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-use_try_shorthand-false.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-use_try_shorthand-true.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-where_pred_indent-block.rs Replace '_indent' with 'indent_style' 2017-11-13 17:33:32 +09:00
configs-where_pred_indent-visual.rs Update tests 2017-11-13 17:33:32 +09:00
configs-where_single_line.rs Update tests 2017-12-05 17:16:04 +09:00
configs-where_style-default.rs Change Legacy to Visual 2017-11-13 17:33:32 +09:00
configs-where_style-rfc.rs Change Rfc to Block 2017-11-13 17:33:32 +09:00
configs-wrap_comments-false.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-wrap_comments-true.rs Add a test fot #2260 2017-12-11 11:40:59 +09:00
control-brace-style-always-next-line.rs Cargo fmt and update tests 2017-12-02 17:45:39 +09:00
control-brace-style-always-same-line.rs Cargo fmt and update tests 2017-12-02 17:45:39 +09:00
doc.rs Add a more lightweight method for rewriting comments when we are not normalising 2017-01-17 10:17:48 +13:00
else-if-brace-style-always-next-line.rs Cargo fmt and update tests 2017-12-02 17:45:39 +09:00
else-if-brace-style-always-same-line.rs Cargo fmt and update tests 2017-12-02 17:45:39 +09:00
else-if-brace-style-closing-next-line.rs Cargo fmt and update tests 2017-12-02 17:45:39 +09:00
empty-tuple-no-conversion-to-unit-struct.rs Cargo fmt and update tests 2017-12-02 17:45:39 +09:00
empty_file.rs Add unittest for #115 2015-08-28 22:59:36 +02:00
enum.rs Add a test for #2123 and update tests 2017-12-17 15:23:17 +09:00
expr-block.rs Update tests 2017-12-04 12:05:16 +09:00
expr.rs Take the width of block's prefix into account only once 2017-12-20 15:44:11 +09:00
extern.rs Add suport for extern types. 2017-10-30 08:46:11 +13:00
extern_not_explicit.rs Update tests 2017-06-18 02:16:27 +09:00
file-lines-1.rs Restore comments in file-liens tests 2017-07-25 15:47:44 +09:00
file-lines-2.rs Restore comments in file-liens tests 2017-07-25 15:47:44 +09:00
file-lines-3.rs Restore comments in file-liens tests 2017-07-25 15:47:44 +09:00
file-lines-4.rs Restore comments in file-liens tests 2017-07-25 15:47:44 +09:00
file-lines-5.rs Add and improve tests of file_lines 2017-05-13 13:45:35 -04:00
file-lines-6.rs Add and improve tests of file_lines 2017-05-13 13:45:35 -04:00
file-lines-item.rs visitor: Only reorder imports if at least one of them is in file-lines. 2017-07-31 09:14:58 +01:00
fn-args-with-last-line-comment.rs Update tests 2017-11-23 12:39:00 +09:00
fn-custom-2.rs Remove where_density and where_layout options 2017-11-24 21:08:24 +13:00
fn-custom-3.rs Remove where_density and where_layout options 2017-11-24 21:08:24 +13:00
fn-custom-4.rs Remove where_density and where_layout options 2017-11-24 21:08:24 +13:00
fn-custom-6.rs Combine fn_brace_style and item_brace_style 2017-11-14 10:47:02 +09:00
fn-custom-7.rs Combine fn_brace_style and item_brace_style 2017-11-14 10:47:02 +09:00
fn-custom-8.rs Combine fn_brace_style and item_brace_style 2017-11-14 10:47:02 +09:00
fn-custom.rs Add trailing comma when using Mixed indent style with newline 2017-07-13 20:32:46 +09:00
fn-simple.rs Cargo fmt and update tests 2017-12-02 17:45:39 +09:00
fn-single-line.rs Reformat tests 2017-06-13 14:42:54 +12:00
fn-ty.rs Reformat tests 2017-06-13 14:42:54 +12:00
fn.rs Cargo fmt and update tests 2017-12-02 17:45:39 +09:00
fn_args_density-vertical.rs fix some typos 2017-11-01 07:33:55 +01:00
fn_args_indent-block.rs Replace '_indent' with 'indent_style' 2017-11-13 17:33:32 +09:00
fn_once.rs Fix 1-tuple regression. 2015-10-01 11:06:49 -07:00
hard-tabs.rs Fix indent width bug when recovering comments 2017-12-22 12:05:36 +09:00
hello.rs implement framework for system tests 2015-06-05 17:50:22 +02:00
impl.rs Add a test for #2212 2017-11-30 19:37:53 +09:00
impls.rs Cargo fmt and update tests 2017-12-02 17:45:39 +09:00
import-fencepost-length.rs Break use statements into multiple lines (#1407) 2017-03-26 18:21:43 +13:00
imports-reorder-lines-and-items.rs Fixes #1184 where reordering import items could cause a panic. 2016-11-03 04:21:47 +00:00
imports-reorder-lines.rs Update tests 2017-07-13 18:43:35 +09:00
imports-reorder.rs Update tests 2017-07-13 18:43:35 +09:00
imports.rs Add tests for nested imports 2017-12-09 16:45:20 +09:00
indented-impl.rs Combine fn_brace_style and item_brace_style 2017-11-14 10:47:02 +09:00
issue-64.rs Add regression test for UFCS formatting error 2015-06-08 18:34:53 +02:00
issue-447.rs Allow empty blocks on one line in more places 2017-01-16 16:37:58 +13:00
issue-510.rs Format 2017-08-11 17:44:16 +09:00
issue-691.rs Use different style when rewriting comment with different opener 2017-05-29 11:28:48 +09:00
issue-770.rs Add regression test for issue 770 2016-04-14 20:41:23 +02:00
issue-811.rs More space for qself paths 2017-03-07 14:53:10 +13:00
issue-831.rs Format source codes and update tests 2017-07-21 17:57:31 +09:00
issue-850.rs Add a test for #850 2016-03-09 02:44:01 -08:00
issue-855.rs Update tests 2017-11-16 17:43:06 +09:00
issue-913.rs Update tests 2017-11-29 17:37:56 +09:00
issue-945.rs Add support for the default keyword (#1025) 2016-05-31 19:48:49 +02:00
issue-977.rs make rustfmt-normalize_comments false by default 2017-01-16 14:50:27 +13:00
issue-1021.rs Update tests 2017-08-27 14:41:30 +09:00
issue-1049.rs fix some typos 2017-11-01 07:33:55 +01:00
issue-1055.rs update Serde, etc. 2016-11-21 11:02:18 +13:00
issue-1111.rs Add test case for issue #1111, by adding another route by which a test file's config can be located 2016-08-08 23:13:45 +02:00
issue-1113.rs Preserve the layout of comment after return type 2017-06-04 06:59:55 +09:00
issue-1120.rs Fix #1120 - rework how the use list prefix is determined. (#1121) 2016-08-10 18:13:27 +12:00
issue-1124.rs Fix a typo in the unstable options handling and address fallout 2017-11-24 15:41:27 +13:00
issue-1127.rs Rename wrap_match_arms to match_arm_blocks 2017-11-27 17:35:27 +13:00
issue-1158.rs Format macros in trait item position 2017-05-04 00:10:03 +08:00
issue-1177.rs Add a more lightweight method for rewriting comments when we are not normalising 2017-01-17 10:17:48 +13:00
issue-1192.rs Remove extra whitespace after macro calls 2016-10-27 02:40:08 -05:00
issue-1211.rs Add a test for issue 1211, showing it's no longer an issue. 2017-10-10 18:51:44 +13:00
issue-1214.rs Add tests for issues which can be closed on the current master 2017-05-28 13:24:05 +09:00
issue-1216.rs make rustfmt-normalize_comments false by default 2017-01-16 14:50:27 +13:00
issue-1239.rs Update tests 2017-09-15 12:20:58 +09:00
issue-1247.rs Reformat tests 2017-06-13 14:42:54 +12:00
issue-1255.rs Test for #1255 2017-02-26 22:27:46 +00:00
issue-1278.rs Replace '_indent' with 'indent_style' 2017-11-13 17:33:32 +09:00
issue-1350.rs Update tests 2017-07-11 21:53:48 +09:00
issue-1366.rs Reformat tests 2017-06-13 14:42:54 +12:00
issue-1397.rs Format source codes 2017-07-03 18:54:26 +09:00
issue-1468.rs fix some typos 2017-11-01 07:33:55 +01:00
issue-1598.rs Fix index bug in write_snippet_inner 2017-05-30 10:53:48 +09:00
issue-1624.rs Remove legacy option fn_args_paren_newline 2017-11-24 13:27:14 +13:00
issue-1681.rs Add and remove comments 2017-06-16 08:28:12 +09:00
issue-1693.rs Use correct indentaion for vec! with semicolon 2017-06-16 13:57:37 +09:00
issue-1703.rs Preserve comments inside attributes 2017-06-17 05:44:54 +09:00
issue-1800.rs Update tests 2017-07-25 00:56:09 +09:00
issue-1802.rs Replace various small width heuristics with a single option 2017-11-24 20:17:06 +13:00
issue-1824.rs Use correct BytePos for where when rewriting trait 2017-07-27 14:21:14 +09:00
issue-1914.rs Add a test for #1914 and #1915 2017-08-25 08:20:11 +09:00
issue-2025.rs Add a test for #2025 2017-11-10 17:08:16 +09:00
issue-2103.rs Handle case where there is a where clause but no generic parameters. 2017-11-04 15:25:09 -04:00
issue-2111.rs Add a test for #2111 2017-11-23 12:36:57 +09:00
issue-2123.rs Add a test for #2123 and update tests 2017-12-17 15:23:17 +09:00
issue-2164.rs Add a test for #2164 2017-11-18 15:32:10 +09:00
issue-2179.rs Add a test for #2179 2017-11-24 12:04:00 +09:00
issue-2197.rs Add a test for #2197 2017-12-02 23:01:35 +09:00
item-brace-style-always-next-line.rs Combine fn_brace_style and item_brace_style 2017-11-14 10:47:02 +09:00
item-brace-style-prefer-same-line.rs Combine fn_brace_style and item_brace_style 2017-11-14 10:47:02 +09:00
item-brace-style-same-line-where.rs Combine fn_brace_style and item_brace_style 2017-11-14 10:47:02 +09:00
large-block.rs Use block indent when visual indent failed 2017-05-08 08:07:18 +09:00
large_vec.rs Reformat tests 2017-06-13 14:42:54 +12:00
long-fn-1.rs Update tests 2017-08-01 22:27:12 +09:00
long-match-arms-brace-newline.rs Remove force_format_strings in favour of format_strings 2017-11-24 14:07:37 +13:00
long_field_access.rs Format source codes 2017-07-05 18:31:37 +09:00
loop.rs Update tests 2017-11-10 17:08:26 +09:00
macro_not_expr.rs Add test for a macro not containing an exprssion 2015-10-23 13:46:14 -07:00
macros.rs Fix off-by-one error in assert_eq! line wrapping 2017-12-23 01:32:55 +00:00
match-block-trailing-comma.rs Reformat tests 2017-06-13 14:42:54 +12:00
match-nowrap-trailing-comma.rs Rename wrap_match_arms to match_arm_blocks 2017-11-27 17:35:27 +13:00
match-nowrap.rs Rename wrap_match_arms to match_arm_blocks 2017-11-27 17:35:27 +13:00
match.rs Update tests 2017-11-29 17:37:56 +09:00
max-line-length-in-chars.rs Fix line length calculation (should be in chars, not bytes) 2017-04-19 17:49:03 +03:00
mod-1.rs Reformat tests 2017-06-13 14:42:54 +12:00
mod-2.rs Format inline attributes on out-of-line modules (#996) 2016-05-18 22:36:59 +02:00
mod_skip_child.rs test ignored out of line modules 2015-12-24 00:15:29 +03:00
mulit-file.rs Handle multiply-referenced files 2015-11-23 15:22:00 +13:00
multiple.rs Update tests 2017-12-05 17:16:04 +09:00
nested-if-else.rs Reformat tests 2017-06-13 14:42:54 +12:00
nested-visual-block.rs Use getters to access Span fields 2017-08-31 14:14:13 +12: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 Format source codes 2017-07-05 18:12:43 +09:00
pattern-condense-wildcards.rs Update tests 2017-08-27 14:41:30 +09:00
pattern.rs Update tests 2017-11-29 17:37:56 +09:00
pub-restricted.rs Add support for crate shorthand for pub(crate) 2017-10-28 18:41:58 +13:00
remove_blank_lines.rs Add more tests 2017-12-05 17:45:19 +09:00
single-line-if-else.rs Replace various small width heuristics with a single option 2017-11-24 20:17:06 +13:00
skip.rs Handle #![rustfmt_skip] in block statements 2017-10-20 02:37:52 -07:00
skip_mod.rs Handle #![rustfmt_skip] at file top level 2017-10-20 00:22:23 -07:00
soft-wrapping.rs Add a test for soft wrapping on doc comments 2017-11-08 18:23:21 +09:00
space-not-before-newline.rs Omit space before '\n' + comment (fixes #457) 2017-03-28 16:32:12 +02:00
spaces-around-ranges.rs Replace ... by ..= in range expr tests 2017-09-27 22:47:34 +02:00
static.rs Update tests 2017-12-04 12:05:16 +09:00
string-lit-2.rs If a string goes over-width, give up formatting it 2017-01-06 16:35:28 +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 Remove force_format_strings in favour of format_strings 2017-11-24 14:07:37 +13:00
string_punctuation.rs Reformat tests 2017-06-13 14:42:54 +12:00
struct-field-attributes.rs Add a test for #2044 2017-10-08 22:37:13 +09:00
struct_lits.rs Format source codes 2017-07-03 18:54:26 +09:00
struct_lits_multiline.rs struct_lit_multiline_style -> struct_lit_single_line (and make it a bool) 2017-11-24 14:45:18 +13:00
struct_lits_visual.rs Replace '_indent' with 'indent_style' 2017-11-13 17:33:32 +09:00
struct_lits_visual_multiline.rs struct_lit_multiline_style -> struct_lit_single_line (and make it a bool) 2017-11-24 14:45:18 +13:00
struct_tuple_visual.rs Update tests 2017-11-13 17:33:32 +09:00
structs.rs Add a test for #2123 and update tests 2017-12-17 15:23:17 +09:00
trailing-comma-never.rs Some tests 2017-02-24 10:43:53 +13:00
trailing_commas.rs Update tests 2017-08-02 23:28:52 +09:00
trait.rs Add tests for trait aliases 2017-12-15 13:47:32 +09:00
try-conversion.rs Reformat tests 2017-06-13 14:42:54 +12:00
tuple.rs Update tests 2017-07-06 01:19:31 +09:00
type-ascription.rs Split after the colon of type ascription 2017-09-15 15:04:30 +09:00
type-punctuation.rs Reformat tests 2017-06-13 14:42:54 +12:00
type.rs Update tests 2017-08-27 14:41:30 +09:00
type_alias.rs Fix wrong indentation on type alias 2017-12-21 09:58:13 +09:00
unindent_if_else_cond_comment.rs Unindent comment on top of else 2017-06-02 11:58:58 +09:00
unions.rs Add a test for #2123 and update tests 2017-12-17 15:23:17 +09:00
where-clause-rfc.rs Replace '_indent' with 'indent_style' 2017-11-13 17:33:32 +09:00
where-clause.rs Reformat tests 2017-06-13 14:42:54 +12:00