From 6a583399ff815181a68a46cc863a2e377119d6fe Mon Sep 17 00:00:00 2001 From: David Alber Date: Wed, 27 Dec 2017 22:19:40 -0800 Subject: [PATCH 1/6] Renaming test to match existing convention --- ...igs-where_single_line.rs => configs-where_single_line-true.rs} | 0 ...igs-where_single_line.rs => configs-where_single_line-true.rs} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename tests/source/{configs-where_single_line.rs => configs-where_single_line-true.rs} (100%) rename tests/target/{configs-where_single_line.rs => configs-where_single_line-true.rs} (100%) diff --git a/tests/source/configs-where_single_line.rs b/tests/source/configs-where_single_line-true.rs similarity index 100% rename from tests/source/configs-where_single_line.rs rename to tests/source/configs-where_single_line-true.rs diff --git a/tests/target/configs-where_single_line.rs b/tests/target/configs-where_single_line-true.rs similarity index 100% rename from tests/target/configs-where_single_line.rs rename to tests/target/configs-where_single_line-true.rs From 8fb3342ca2a973d98c0c64e16e7e0d49b1fa3c37 Mon Sep 17 00:00:00 2001 From: David Alber Date: Wed, 27 Dec 2017 22:41:23 -0800 Subject: [PATCH 2/6] Renaming tests to match existing convention --- ...ng-comma.rs => configs-fn_call_indent-block_trailing_comma.rs} | 0 ...g-comma.rs => configs-fn_call_indent-visual_trailing_comma.rs} | 0 ...b_spaces-2.rs => configs-fn_call_indent-block_tab_spaces_2.rs} | 0 ...ng-comma.rs => configs-fn_call_indent-block_trailing_comma.rs} | 0 ...g-comma.rs => configs-fn_call_indent-visual_trailing_comma.rs} | 0 5 files changed, 0 insertions(+), 0 deletions(-) rename tests/source/{configs-fn_call_indent-block-trailing-comma.rs => configs-fn_call_indent-block_trailing_comma.rs} (100%) rename tests/source/{configs-fn_call_indent-visual-trailing-comma.rs => configs-fn_call_indent-visual_trailing_comma.rs} (100%) rename tests/target/{configs-fn_call_indent-block-tab_spaces-2.rs => configs-fn_call_indent-block_tab_spaces_2.rs} (100%) rename tests/target/{configs-fn_call_indent-block-trailing-comma.rs => configs-fn_call_indent-block_trailing_comma.rs} (100%) rename tests/target/{configs-fn_call_indent-visual-trailing-comma.rs => configs-fn_call_indent-visual_trailing_comma.rs} (100%) diff --git a/tests/source/configs-fn_call_indent-block-trailing-comma.rs b/tests/source/configs-fn_call_indent-block_trailing_comma.rs similarity index 100% rename from tests/source/configs-fn_call_indent-block-trailing-comma.rs rename to tests/source/configs-fn_call_indent-block_trailing_comma.rs diff --git a/tests/source/configs-fn_call_indent-visual-trailing-comma.rs b/tests/source/configs-fn_call_indent-visual_trailing_comma.rs similarity index 100% rename from tests/source/configs-fn_call_indent-visual-trailing-comma.rs rename to tests/source/configs-fn_call_indent-visual_trailing_comma.rs diff --git a/tests/target/configs-fn_call_indent-block-tab_spaces-2.rs b/tests/target/configs-fn_call_indent-block_tab_spaces_2.rs similarity index 100% rename from tests/target/configs-fn_call_indent-block-tab_spaces-2.rs rename to tests/target/configs-fn_call_indent-block_tab_spaces_2.rs diff --git a/tests/target/configs-fn_call_indent-block-trailing-comma.rs b/tests/target/configs-fn_call_indent-block_trailing_comma.rs similarity index 100% rename from tests/target/configs-fn_call_indent-block-trailing-comma.rs rename to tests/target/configs-fn_call_indent-block_trailing_comma.rs diff --git a/tests/target/configs-fn_call_indent-visual-trailing-comma.rs b/tests/target/configs-fn_call_indent-visual_trailing_comma.rs similarity index 100% rename from tests/target/configs-fn_call_indent-visual-trailing-comma.rs rename to tests/target/configs-fn_call_indent-visual_trailing_comma.rs From 6939e21f43a1fe77b6e0c39e791291eeac87ce6b Mon Sep 17 00:00:00 2001 From: David Alber Date: Wed, 27 Dec 2017 22:44:30 -0800 Subject: [PATCH 3/6] Moving config option tests to subdirectory This was done by running the following. ```sh for f in `find . -name "configs-*.rs"`; do topdir=`echo $f | cut -d/ -f2`; configname=`echo $f | cut -d/ -f3 | cut -d- -f2`; testname=`echo $f | cut -d/ -f3 | cut -d- -f3`; mkdir -p $topdir/configs/$configname; git mv $f $topdir/configs/$configname/$testname; done ``` --- .../array_indent/block.rs} | 0 .../array_indent/visual.rs} | 0 .../blank_lines_lower_bound/1.rs} | 0 .../chain_indent/block.rs} | 0 .../chain_indent/visual.rs} | 0 .../comment_width/above.rs} | 0 .../comment_width/below.rs} | 0 .../comment_width/ignore.rs} | 0 .../condense_wildcard_suffices/false.rs} | 0 .../condense_wildcard_suffices/true.rs} | 0 .../control_brace_style/always_next_line.rs} | 0 .../control_brace_style/always_same_line.rs} | 0 .../control_brace_style/closing_next_line.rs} | 0 .../disable_all_formatting/false.rs} | 0 .../disable_all_formatting/true.rs} | 0 .../empty_item_single_line/false.rs} | 0 .../empty_item_single_line/true.rs} | 0 .../error_on_line_overflow/false.rs} | 0 .../fn_args_density/compressed.rs} | 0 .../fn_args_density/tall.rs} | 0 .../fn_args_density/vertical.rs} | 0 .../fn_args_indent/block.rs} | 0 .../fn_args_indent/visual.rs} | 0 .../fn_brace_style/always_next_line.rs} | 0 .../fn_brace_style/prefer_same_line.rs} | 0 .../fn_brace_style/same_line_where.rs} | 0 .../fn_call_indent/block.rs} | 0 .../fn_call_indent/block_trailing_comma.rs} | 0 .../fn_call_indent/visual.rs} | 0 .../fn_call_indent/visual_trailing_comma.rs} | 0 .../fn_single_line/false.rs} | 0 .../fn_single_line/true.rs} | 0 .../force_explicit_abi/false.rs} | 0 .../force_explicit_abi/true.rs} | 0 .../force_multiline_block/false.rs} | 0 .../force_multiline_block/true.rs} | 0 .../format_strings/false.rs} | 0 .../format_strings/true.rs} | 0 .../generics_indent/block.rs} | 0 .../generics_indent/visual.rs} | 0 .../{configs-hard_tabs-false.rs => configs/hard_tabs/false.rs} | 0 .../{configs-hard_tabs-true.rs => configs/hard_tabs/true.rs} | 0 .../item_brace_style/always_next_line.rs} | 0 .../item_brace_style/prefer_same_line.rs} | 0 .../item_brace_style/same_line_where.rs} | 0 .../match_arm_blocks/false.rs} | 0 .../match_arm_blocks/true.rs} | 0 .../match_block_trailing_comma/false.rs} | 0 .../match_block_trailing_comma/true.rs} | 0 .../merge_derives/true.rs} | 0 .../normalize_comments/false.rs} | 0 .../normalize_comments/true.rs} | 0 .../reorder_imported_names/false.rs} | 0 .../reorder_imported_names/true.rs} | 0 .../reorder_imports/false.rs} | 0 .../reorder_imports/true.rs} | 0 .../reorder_imports_in_group/false.rs} | 0 .../reorder_imports_in_group/true.rs} | 0 .../same_line_attributes/false.rs} | 0 .../same_line_attributes/true.rs} | 0 .../space_before_colon/true.rs} | 0 .../spaces_around_ranges/false.rs} | 0 .../spaces_around_ranges/true.rs} | 0 .../spaces_within_parens_and_brackets/false.rs} | 0 .../spaces_within_parens_and_brackets/true.rs} | 0 .../struct_field_align_threshold/20.rs} | 0 .../struct_lit_indent/block.rs} | 0 .../struct_lit_indent/visual.rs} | 0 .../struct_lit_single_line/false.rs} | 0 tests/source/{configs-tab_spaces-2.rs => configs/tab_spaces/2.rs} | 0 tests/source/{configs-tab_spaces-4.rs => configs/tab_spaces/4.rs} | 0 .../trailing_comma/always.rs} | 0 .../trailing_comma/never.rs} | 0 .../trailing_comma/vertical.rs} | 0 .../type_punctuation_density/compressed.rs} | 0 .../type_punctuation_density/wide.rs} | 0 .../use_try_shorthand/false.rs} | 0 .../use_try_shorthand/true.rs} | 0 .../where_pred_indent/block.rs} | 0 .../where_pred_indent/visual.rs} | 0 .../where_single_line/true.rs} | 0 .../where_style/default.rs} | 0 .../{configs-where_style-rfc.rs => configs/where_style/rfc.rs} | 0 .../wrap_comments/false.rs} | 0 .../wrap_comments/true.rs} | 0 .../array_indent/block.rs} | 0 .../array_indent/visual.rs} | 0 .../blank_lines_lower_bound/1.rs} | 0 .../chain_indent/block.rs} | 0 .../chain_indent/visual.rs} | 0 .../combine_control_expr/false.rs} | 0 .../combine_control_expr/true.rs} | 0 .../comment_width/above.rs} | 0 .../comment_width/below.rs} | 0 .../comment_width/ignore.rs} | 0 .../condense_wildcard_suffices/false.rs} | 0 .../condense_wildcard_suffices/true.rs} | 0 .../control_brace_style/always_next_line.rs} | 0 .../control_brace_style/always_same_line.rs} | 0 .../control_brace_style/closing_next_line.rs} | 0 .../control_style/rfc.rs} | 0 .../disable_all_formatting/false.rs} | 0 .../disable_all_formatting/true.rs} | 0 .../empty_item_single_line/false.rs} | 0 .../empty_item_single_line/true.rs} | 0 .../error_on_line_overflow/false.rs} | 0 .../error_on_unformatted/false.rs} | 0 .../fn_args_density/compressed.rs} | 0 .../fn_args_density/tall.rs} | 0 .../fn_args_density/vertical.rs} | 0 .../fn_args_indent/block.rs} | 0 .../fn_args_indent/visual.rs} | 0 .../fn_brace_style/always_next_line.rs} | 0 .../fn_brace_style/prefer_same_line.rs} | 0 .../fn_brace_style/same_line_where.rs} | 0 .../fn_call_indent/block.rs} | 0 .../fn_call_indent/block_tab_spaces_2.rs} | 0 .../fn_call_indent/block_trailing_comma.rs} | 0 .../fn_call_indent/visual.rs} | 0 .../fn_call_indent/visual_trailing_comma.rs} | 0 .../fn_single_line/false.rs} | 0 .../fn_single_line/true.rs} | 0 .../force_explicit_abi/false.rs} | 0 .../force_explicit_abi/true.rs} | 0 .../force_multiline_block/false.rs} | 0 .../force_multiline_block/true.rs} | 0 .../format_strings/false.rs} | 0 .../format_strings/true.rs} | 0 .../generics_indent/block.rs} | 0 .../generics_indent/visual.rs} | 0 .../{configs-hard_tabs-false.rs => configs/hard_tabs/false.rs} | 0 .../{configs-hard_tabs-true.rs => configs/hard_tabs/true.rs} | 0 .../imports_indent/block.rs} | 0 .../imports_layout/horizontal_vertical.rs} | 0 .../imports_layout/mixed.rs} | 0 .../item_brace_style/always_next_line.rs} | 0 .../item_brace_style/prefer_same_line.rs} | 0 .../item_brace_style/same_line_where.rs} | 0 .../match_arm_blocks/false.rs} | 0 .../match_arm_blocks/true.rs} | 0 .../match_block_trailing_comma/false.rs} | 0 .../match_block_trailing_comma/true.rs} | 0 .../merge_derives/true.rs} | 0 .../normalize_comments/false.rs} | 0 .../normalize_comments/true.rs} | 0 .../reorder_imported_names/false.rs} | 0 .../reorder_imported_names/true.rs} | 0 .../reorder_imports/false.rs} | 0 .../reorder_imports/true.rs} | 0 .../reorder_imports_in_group/false.rs} | 0 .../reorder_imports_in_group/true.rs} | 0 .../same_line_attributes/false.rs} | 0 .../same_line_attributes/true.rs} | 0 .../space_before_colon/true.rs} | 0 .../spaces_around_ranges/false.rs} | 0 .../spaces_around_ranges/true.rs} | 0 .../spaces_within_parens_and_brackets/false.rs} | 0 .../spaces_within_parens_and_brackets/true.rs} | 0 .../struct_field_align_threshold/20.rs} | 0 .../struct_lit_indent/block.rs} | 0 .../struct_lit_indent/visual.rs} | 0 .../struct_lit_single_line/false.rs} | 0 tests/target/{configs-tab_spaces-2.rs => configs/tab_spaces/2.rs} | 0 tests/target/{configs-tab_spaces-4.rs => configs/tab_spaces/4.rs} | 0 .../trailing_comma/always.rs} | 0 .../trailing_comma/never.rs} | 0 .../trailing_comma/vertical.rs} | 0 .../trailing_semicolon/false.rs} | 0 .../trailing_semicolon/true.rs} | 0 .../type_punctuation_density/compressed.rs} | 0 .../type_punctuation_density/wide.rs} | 0 .../use_try_shorthand/false.rs} | 0 .../use_try_shorthand/true.rs} | 0 .../where_pred_indent/block.rs} | 0 .../where_pred_indent/visual.rs} | 0 .../where_single_line/true.rs} | 0 .../where_style/default.rs} | 0 .../{configs-where_style-rfc.rs => configs/where_style/rfc.rs} | 0 .../wrap_comments/false.rs} | 0 .../wrap_comments/true.rs} | 0 180 files changed, 0 insertions(+), 0 deletions(-) rename tests/source/{configs-array_indent-block.rs => configs/array_indent/block.rs} (100%) rename tests/source/{configs-array_indent-visual.rs => configs/array_indent/visual.rs} (100%) rename tests/source/{configs-blank_lines_lower_bound-1.rs => configs/blank_lines_lower_bound/1.rs} (100%) rename tests/source/{configs-chain_indent-block.rs => configs/chain_indent/block.rs} (100%) rename tests/source/{configs-chain_indent-visual.rs => configs/chain_indent/visual.rs} (100%) rename tests/source/{configs-comment_width-above.rs => configs/comment_width/above.rs} (100%) rename tests/source/{configs-comment_width-below.rs => configs/comment_width/below.rs} (100%) rename tests/source/{configs-comment_width-ignore.rs => configs/comment_width/ignore.rs} (100%) rename tests/source/{configs-condense_wildcard_suffices-false.rs => configs/condense_wildcard_suffices/false.rs} (100%) rename tests/source/{configs-condense_wildcard_suffices-true.rs => configs/condense_wildcard_suffices/true.rs} (100%) rename tests/source/{configs-control_brace_style-always_next_line.rs => configs/control_brace_style/always_next_line.rs} (100%) rename tests/source/{configs-control_brace_style-always_same_line.rs => configs/control_brace_style/always_same_line.rs} (100%) rename tests/source/{configs-control_brace_style-closing_next_line.rs => configs/control_brace_style/closing_next_line.rs} (100%) rename tests/source/{configs-disable_all_formatting-false.rs => configs/disable_all_formatting/false.rs} (100%) rename tests/source/{configs-disable_all_formatting-true.rs => configs/disable_all_formatting/true.rs} (100%) rename tests/source/{configs-empty_item_single_line-false.rs => configs/empty_item_single_line/false.rs} (100%) rename tests/source/{configs-empty_item_single_line-true.rs => configs/empty_item_single_line/true.rs} (100%) rename tests/source/{configs-error_on_line_overflow-false.rs => configs/error_on_line_overflow/false.rs} (100%) rename tests/source/{configs-fn_args_density-compressed.rs => configs/fn_args_density/compressed.rs} (100%) rename tests/source/{configs-fn_args_density-tall.rs => configs/fn_args_density/tall.rs} (100%) rename tests/source/{configs-fn_args_density-vertical.rs => configs/fn_args_density/vertical.rs} (100%) rename tests/source/{configs-fn_args_indent-block.rs => configs/fn_args_indent/block.rs} (100%) rename tests/source/{configs-fn_args_indent-visual.rs => configs/fn_args_indent/visual.rs} (100%) rename tests/source/{configs-fn_brace_style-always_next_line.rs => configs/fn_brace_style/always_next_line.rs} (100%) rename tests/source/{configs-fn_brace_style-prefer_same_line.rs => configs/fn_brace_style/prefer_same_line.rs} (100%) rename tests/source/{configs-fn_brace_style-same_line_where.rs => configs/fn_brace_style/same_line_where.rs} (100%) rename tests/source/{configs-fn_call_indent-block.rs => configs/fn_call_indent/block.rs} (100%) rename tests/source/{configs-fn_call_indent-block_trailing_comma.rs => configs/fn_call_indent/block_trailing_comma.rs} (100%) rename tests/source/{configs-fn_call_indent-visual.rs => configs/fn_call_indent/visual.rs} (100%) rename tests/source/{configs-fn_call_indent-visual_trailing_comma.rs => configs/fn_call_indent/visual_trailing_comma.rs} (100%) rename tests/source/{configs-fn_single_line-false.rs => configs/fn_single_line/false.rs} (100%) rename tests/source/{configs-fn_single_line-true.rs => configs/fn_single_line/true.rs} (100%) rename tests/source/{configs-force_explicit_abi-false.rs => configs/force_explicit_abi/false.rs} (100%) rename tests/source/{configs-force_explicit_abi-true.rs => configs/force_explicit_abi/true.rs} (100%) rename tests/source/{configs-force_multiline_block-false.rs => configs/force_multiline_block/false.rs} (100%) rename tests/source/{configs-force_multiline_block-true.rs => configs/force_multiline_block/true.rs} (100%) rename tests/source/{configs-format_strings-false.rs => configs/format_strings/false.rs} (100%) rename tests/source/{configs-format_strings-true.rs => configs/format_strings/true.rs} (100%) rename tests/source/{configs-generics_indent-block.rs => configs/generics_indent/block.rs} (100%) rename tests/source/{configs-generics_indent-visual.rs => configs/generics_indent/visual.rs} (100%) rename tests/source/{configs-hard_tabs-false.rs => configs/hard_tabs/false.rs} (100%) rename tests/source/{configs-hard_tabs-true.rs => configs/hard_tabs/true.rs} (100%) rename tests/source/{configs-item_brace_style-always_next_line.rs => configs/item_brace_style/always_next_line.rs} (100%) rename tests/source/{configs-item_brace_style-prefer_same_line.rs => configs/item_brace_style/prefer_same_line.rs} (100%) rename tests/source/{configs-item_brace_style-same_line_where.rs => configs/item_brace_style/same_line_where.rs} (100%) rename tests/source/{configs-match_arm_blocks-false.rs => configs/match_arm_blocks/false.rs} (100%) rename tests/source/{configs-match_arm_blocks-true.rs => configs/match_arm_blocks/true.rs} (100%) rename tests/source/{configs-match_block_trailing_comma-false.rs => configs/match_block_trailing_comma/false.rs} (100%) rename tests/source/{configs-match_block_trailing_comma-true.rs => configs/match_block_trailing_comma/true.rs} (100%) rename tests/source/{configs-merge_derives-true.rs => configs/merge_derives/true.rs} (100%) rename tests/source/{configs-normalize_comments-false.rs => configs/normalize_comments/false.rs} (100%) rename tests/source/{configs-normalize_comments-true.rs => configs/normalize_comments/true.rs} (100%) rename tests/source/{configs-reorder_imported_names-false.rs => configs/reorder_imported_names/false.rs} (100%) rename tests/source/{configs-reorder_imported_names-true.rs => configs/reorder_imported_names/true.rs} (100%) rename tests/source/{configs-reorder_imports-false.rs => configs/reorder_imports/false.rs} (100%) rename tests/source/{configs-reorder_imports-true.rs => configs/reorder_imports/true.rs} (100%) rename tests/source/{configs-reorder_imports_in_group-false.rs => configs/reorder_imports_in_group/false.rs} (100%) rename tests/source/{configs-reorder_imports_in_group-true.rs => configs/reorder_imports_in_group/true.rs} (100%) rename tests/source/{configs-same_line_attributes-false.rs => configs/same_line_attributes/false.rs} (100%) rename tests/source/{configs-same_line_attributes-true.rs => configs/same_line_attributes/true.rs} (100%) rename tests/source/{configs-space_before_colon-true.rs => configs/space_before_colon/true.rs} (100%) rename tests/source/{configs-spaces_around_ranges-false.rs => configs/spaces_around_ranges/false.rs} (100%) rename tests/source/{configs-spaces_around_ranges-true.rs => configs/spaces_around_ranges/true.rs} (100%) rename tests/source/{configs-spaces_within_parens_and_brackets-false.rs => configs/spaces_within_parens_and_brackets/false.rs} (100%) rename tests/source/{configs-spaces_within_parens_and_brackets-true.rs => configs/spaces_within_parens_and_brackets/true.rs} (100%) rename tests/source/{configs-struct_field_align_threshold-20.rs => configs/struct_field_align_threshold/20.rs} (100%) rename tests/source/{configs-struct_lit_indent-block.rs => configs/struct_lit_indent/block.rs} (100%) rename tests/source/{configs-struct_lit_indent-visual.rs => configs/struct_lit_indent/visual.rs} (100%) rename tests/source/{configs-struct_lit_single_line-false.rs => configs/struct_lit_single_line/false.rs} (100%) rename tests/source/{configs-tab_spaces-2.rs => configs/tab_spaces/2.rs} (100%) rename tests/source/{configs-tab_spaces-4.rs => configs/tab_spaces/4.rs} (100%) rename tests/source/{configs-trailing_comma-always.rs => configs/trailing_comma/always.rs} (100%) rename tests/source/{configs-trailing_comma-never.rs => configs/trailing_comma/never.rs} (100%) rename tests/source/{configs-trailing_comma-vertical.rs => configs/trailing_comma/vertical.rs} (100%) rename tests/source/{configs-type_punctuation_density-compressed.rs => configs/type_punctuation_density/compressed.rs} (100%) rename tests/source/{configs-type_punctuation_density-wide.rs => configs/type_punctuation_density/wide.rs} (100%) rename tests/source/{configs-use_try_shorthand-false.rs => configs/use_try_shorthand/false.rs} (100%) rename tests/source/{configs-use_try_shorthand-true.rs => configs/use_try_shorthand/true.rs} (100%) rename tests/source/{configs-where_pred_indent-block.rs => configs/where_pred_indent/block.rs} (100%) rename tests/source/{configs-where_pred_indent-visual.rs => configs/where_pred_indent/visual.rs} (100%) rename tests/source/{configs-where_single_line-true.rs => configs/where_single_line/true.rs} (100%) rename tests/source/{configs-where_style-default.rs => configs/where_style/default.rs} (100%) rename tests/source/{configs-where_style-rfc.rs => configs/where_style/rfc.rs} (100%) rename tests/source/{configs-wrap_comments-false.rs => configs/wrap_comments/false.rs} (100%) rename tests/source/{configs-wrap_comments-true.rs => configs/wrap_comments/true.rs} (100%) rename tests/target/{configs-array_indent-block.rs => configs/array_indent/block.rs} (100%) rename tests/target/{configs-array_indent-visual.rs => configs/array_indent/visual.rs} (100%) rename tests/target/{configs-blank_lines_lower_bound-1.rs => configs/blank_lines_lower_bound/1.rs} (100%) rename tests/target/{configs-chain_indent-block.rs => configs/chain_indent/block.rs} (100%) rename tests/target/{configs-chain_indent-visual.rs => configs/chain_indent/visual.rs} (100%) rename tests/target/{configs-combine_control_expr-false.rs => configs/combine_control_expr/false.rs} (100%) rename tests/target/{configs-combine_control_expr-true.rs => configs/combine_control_expr/true.rs} (100%) rename tests/target/{configs-comment_width-above.rs => configs/comment_width/above.rs} (100%) rename tests/target/{configs-comment_width-below.rs => configs/comment_width/below.rs} (100%) rename tests/target/{configs-comment_width-ignore.rs => configs/comment_width/ignore.rs} (100%) rename tests/target/{configs-condense_wildcard_suffices-false.rs => configs/condense_wildcard_suffices/false.rs} (100%) rename tests/target/{configs-condense_wildcard_suffices-true.rs => configs/condense_wildcard_suffices/true.rs} (100%) rename tests/target/{configs-control_brace_style-always_next_line.rs => configs/control_brace_style/always_next_line.rs} (100%) rename tests/target/{configs-control_brace_style-always_same_line.rs => configs/control_brace_style/always_same_line.rs} (100%) rename tests/target/{configs-control_brace_style-closing_next_line.rs => configs/control_brace_style/closing_next_line.rs} (100%) rename tests/target/{configs-control_style-rfc.rs => configs/control_style/rfc.rs} (100%) rename tests/target/{configs-disable_all_formatting-false.rs => configs/disable_all_formatting/false.rs} (100%) rename tests/target/{configs-disable_all_formatting-true.rs => configs/disable_all_formatting/true.rs} (100%) rename tests/target/{configs-empty_item_single_line-false.rs => configs/empty_item_single_line/false.rs} (100%) rename tests/target/{configs-empty_item_single_line-true.rs => configs/empty_item_single_line/true.rs} (100%) rename tests/target/{configs-error_on_line_overflow-false.rs => configs/error_on_line_overflow/false.rs} (100%) rename tests/target/{configs-error_on_unformatted-false.rs => configs/error_on_unformatted/false.rs} (100%) rename tests/target/{configs-fn_args_density-compressed.rs => configs/fn_args_density/compressed.rs} (100%) rename tests/target/{configs-fn_args_density-tall.rs => configs/fn_args_density/tall.rs} (100%) rename tests/target/{configs-fn_args_density-vertical.rs => configs/fn_args_density/vertical.rs} (100%) rename tests/target/{configs-fn_args_indent-block.rs => configs/fn_args_indent/block.rs} (100%) rename tests/target/{configs-fn_args_indent-visual.rs => configs/fn_args_indent/visual.rs} (100%) rename tests/target/{configs-fn_brace_style-always_next_line.rs => configs/fn_brace_style/always_next_line.rs} (100%) rename tests/target/{configs-fn_brace_style-prefer_same_line.rs => configs/fn_brace_style/prefer_same_line.rs} (100%) rename tests/target/{configs-fn_brace_style-same_line_where.rs => configs/fn_brace_style/same_line_where.rs} (100%) rename tests/target/{configs-fn_call_indent-block.rs => configs/fn_call_indent/block.rs} (100%) rename tests/target/{configs-fn_call_indent-block_tab_spaces_2.rs => configs/fn_call_indent/block_tab_spaces_2.rs} (100%) rename tests/target/{configs-fn_call_indent-block_trailing_comma.rs => configs/fn_call_indent/block_trailing_comma.rs} (100%) rename tests/target/{configs-fn_call_indent-visual.rs => configs/fn_call_indent/visual.rs} (100%) rename tests/target/{configs-fn_call_indent-visual_trailing_comma.rs => configs/fn_call_indent/visual_trailing_comma.rs} (100%) rename tests/target/{configs-fn_single_line-false.rs => configs/fn_single_line/false.rs} (100%) rename tests/target/{configs-fn_single_line-true.rs => configs/fn_single_line/true.rs} (100%) rename tests/target/{configs-force_explicit_abi-false.rs => configs/force_explicit_abi/false.rs} (100%) rename tests/target/{configs-force_explicit_abi-true.rs => configs/force_explicit_abi/true.rs} (100%) rename tests/target/{configs-force_multiline_block-false.rs => configs/force_multiline_block/false.rs} (100%) rename tests/target/{configs-force_multiline_block-true.rs => configs/force_multiline_block/true.rs} (100%) rename tests/target/{configs-format_strings-false.rs => configs/format_strings/false.rs} (100%) rename tests/target/{configs-format_strings-true.rs => configs/format_strings/true.rs} (100%) rename tests/target/{configs-generics_indent-block.rs => configs/generics_indent/block.rs} (100%) rename tests/target/{configs-generics_indent-visual.rs => configs/generics_indent/visual.rs} (100%) rename tests/target/{configs-hard_tabs-false.rs => configs/hard_tabs/false.rs} (100%) rename tests/target/{configs-hard_tabs-true.rs => configs/hard_tabs/true.rs} (100%) rename tests/target/{configs-imports_indent-block.rs => configs/imports_indent/block.rs} (100%) rename tests/target/{configs-imports_layout-horizontal_vertical.rs => configs/imports_layout/horizontal_vertical.rs} (100%) rename tests/target/{configs-imports_layout-mixed.rs => configs/imports_layout/mixed.rs} (100%) rename tests/target/{configs-item_brace_style-always_next_line.rs => configs/item_brace_style/always_next_line.rs} (100%) rename tests/target/{configs-item_brace_style-prefer_same_line.rs => configs/item_brace_style/prefer_same_line.rs} (100%) rename tests/target/{configs-item_brace_style-same_line_where.rs => configs/item_brace_style/same_line_where.rs} (100%) rename tests/target/{configs-match_arm_blocks-false.rs => configs/match_arm_blocks/false.rs} (100%) rename tests/target/{configs-match_arm_blocks-true.rs => configs/match_arm_blocks/true.rs} (100%) rename tests/target/{configs-match_block_trailing_comma-false.rs => configs/match_block_trailing_comma/false.rs} (100%) rename tests/target/{configs-match_block_trailing_comma-true.rs => configs/match_block_trailing_comma/true.rs} (100%) rename tests/target/{configs-merge_derives-true.rs => configs/merge_derives/true.rs} (100%) rename tests/target/{configs-normalize_comments-false.rs => configs/normalize_comments/false.rs} (100%) rename tests/target/{configs-normalize_comments-true.rs => configs/normalize_comments/true.rs} (100%) rename tests/target/{configs-reorder_imported_names-false.rs => configs/reorder_imported_names/false.rs} (100%) rename tests/target/{configs-reorder_imported_names-true.rs => configs/reorder_imported_names/true.rs} (100%) rename tests/target/{configs-reorder_imports-false.rs => configs/reorder_imports/false.rs} (100%) rename tests/target/{configs-reorder_imports-true.rs => configs/reorder_imports/true.rs} (100%) rename tests/target/{configs-reorder_imports_in_group-false.rs => configs/reorder_imports_in_group/false.rs} (100%) rename tests/target/{configs-reorder_imports_in_group-true.rs => configs/reorder_imports_in_group/true.rs} (100%) rename tests/target/{configs-same_line_attributes-false.rs => configs/same_line_attributes/false.rs} (100%) rename tests/target/{configs-same_line_attributes-true.rs => configs/same_line_attributes/true.rs} (100%) rename tests/target/{configs-space_before_colon-true.rs => configs/space_before_colon/true.rs} (100%) rename tests/target/{configs-spaces_around_ranges-false.rs => configs/spaces_around_ranges/false.rs} (100%) rename tests/target/{configs-spaces_around_ranges-true.rs => configs/spaces_around_ranges/true.rs} (100%) rename tests/target/{configs-spaces_within_parens_and_brackets-false.rs => configs/spaces_within_parens_and_brackets/false.rs} (100%) rename tests/target/{configs-spaces_within_parens_and_brackets-true.rs => configs/spaces_within_parens_and_brackets/true.rs} (100%) rename tests/target/{configs-struct_field_align_threshold-20.rs => configs/struct_field_align_threshold/20.rs} (100%) rename tests/target/{configs-struct_lit_indent-block.rs => configs/struct_lit_indent/block.rs} (100%) rename tests/target/{configs-struct_lit_indent-visual.rs => configs/struct_lit_indent/visual.rs} (100%) rename tests/target/{configs-struct_lit_single_line-false.rs => configs/struct_lit_single_line/false.rs} (100%) rename tests/target/{configs-tab_spaces-2.rs => configs/tab_spaces/2.rs} (100%) rename tests/target/{configs-tab_spaces-4.rs => configs/tab_spaces/4.rs} (100%) rename tests/target/{configs-trailing_comma-always.rs => configs/trailing_comma/always.rs} (100%) rename tests/target/{configs-trailing_comma-never.rs => configs/trailing_comma/never.rs} (100%) rename tests/target/{configs-trailing_comma-vertical.rs => configs/trailing_comma/vertical.rs} (100%) rename tests/target/{configs-trailing_semicolon-false.rs => configs/trailing_semicolon/false.rs} (100%) rename tests/target/{configs-trailing_semicolon-true.rs => configs/trailing_semicolon/true.rs} (100%) rename tests/target/{configs-type_punctuation_density-compressed.rs => configs/type_punctuation_density/compressed.rs} (100%) rename tests/target/{configs-type_punctuation_density-wide.rs => configs/type_punctuation_density/wide.rs} (100%) rename tests/target/{configs-use_try_shorthand-false.rs => configs/use_try_shorthand/false.rs} (100%) rename tests/target/{configs-use_try_shorthand-true.rs => configs/use_try_shorthand/true.rs} (100%) rename tests/target/{configs-where_pred_indent-block.rs => configs/where_pred_indent/block.rs} (100%) rename tests/target/{configs-where_pred_indent-visual.rs => configs/where_pred_indent/visual.rs} (100%) rename tests/target/{configs-where_single_line-true.rs => configs/where_single_line/true.rs} (100%) rename tests/target/{configs-where_style-default.rs => configs/where_style/default.rs} (100%) rename tests/target/{configs-where_style-rfc.rs => configs/where_style/rfc.rs} (100%) rename tests/target/{configs-wrap_comments-false.rs => configs/wrap_comments/false.rs} (100%) rename tests/target/{configs-wrap_comments-true.rs => configs/wrap_comments/true.rs} (100%) diff --git a/tests/source/configs-array_indent-block.rs b/tests/source/configs/array_indent/block.rs similarity index 100% rename from tests/source/configs-array_indent-block.rs rename to tests/source/configs/array_indent/block.rs diff --git a/tests/source/configs-array_indent-visual.rs b/tests/source/configs/array_indent/visual.rs similarity index 100% rename from tests/source/configs-array_indent-visual.rs rename to tests/source/configs/array_indent/visual.rs diff --git a/tests/source/configs-blank_lines_lower_bound-1.rs b/tests/source/configs/blank_lines_lower_bound/1.rs similarity index 100% rename from tests/source/configs-blank_lines_lower_bound-1.rs rename to tests/source/configs/blank_lines_lower_bound/1.rs diff --git a/tests/source/configs-chain_indent-block.rs b/tests/source/configs/chain_indent/block.rs similarity index 100% rename from tests/source/configs-chain_indent-block.rs rename to tests/source/configs/chain_indent/block.rs diff --git a/tests/source/configs-chain_indent-visual.rs b/tests/source/configs/chain_indent/visual.rs similarity index 100% rename from tests/source/configs-chain_indent-visual.rs rename to tests/source/configs/chain_indent/visual.rs diff --git a/tests/source/configs-comment_width-above.rs b/tests/source/configs/comment_width/above.rs similarity index 100% rename from tests/source/configs-comment_width-above.rs rename to tests/source/configs/comment_width/above.rs diff --git a/tests/source/configs-comment_width-below.rs b/tests/source/configs/comment_width/below.rs similarity index 100% rename from tests/source/configs-comment_width-below.rs rename to tests/source/configs/comment_width/below.rs diff --git a/tests/source/configs-comment_width-ignore.rs b/tests/source/configs/comment_width/ignore.rs similarity index 100% rename from tests/source/configs-comment_width-ignore.rs rename to tests/source/configs/comment_width/ignore.rs diff --git a/tests/source/configs-condense_wildcard_suffices-false.rs b/tests/source/configs/condense_wildcard_suffices/false.rs similarity index 100% rename from tests/source/configs-condense_wildcard_suffices-false.rs rename to tests/source/configs/condense_wildcard_suffices/false.rs diff --git a/tests/source/configs-condense_wildcard_suffices-true.rs b/tests/source/configs/condense_wildcard_suffices/true.rs similarity index 100% rename from tests/source/configs-condense_wildcard_suffices-true.rs rename to tests/source/configs/condense_wildcard_suffices/true.rs diff --git a/tests/source/configs-control_brace_style-always_next_line.rs b/tests/source/configs/control_brace_style/always_next_line.rs similarity index 100% rename from tests/source/configs-control_brace_style-always_next_line.rs rename to tests/source/configs/control_brace_style/always_next_line.rs diff --git a/tests/source/configs-control_brace_style-always_same_line.rs b/tests/source/configs/control_brace_style/always_same_line.rs similarity index 100% rename from tests/source/configs-control_brace_style-always_same_line.rs rename to tests/source/configs/control_brace_style/always_same_line.rs diff --git a/tests/source/configs-control_brace_style-closing_next_line.rs b/tests/source/configs/control_brace_style/closing_next_line.rs similarity index 100% rename from tests/source/configs-control_brace_style-closing_next_line.rs rename to tests/source/configs/control_brace_style/closing_next_line.rs diff --git a/tests/source/configs-disable_all_formatting-false.rs b/tests/source/configs/disable_all_formatting/false.rs similarity index 100% rename from tests/source/configs-disable_all_formatting-false.rs rename to tests/source/configs/disable_all_formatting/false.rs diff --git a/tests/source/configs-disable_all_formatting-true.rs b/tests/source/configs/disable_all_formatting/true.rs similarity index 100% rename from tests/source/configs-disable_all_formatting-true.rs rename to tests/source/configs/disable_all_formatting/true.rs diff --git a/tests/source/configs-empty_item_single_line-false.rs b/tests/source/configs/empty_item_single_line/false.rs similarity index 100% rename from tests/source/configs-empty_item_single_line-false.rs rename to tests/source/configs/empty_item_single_line/false.rs diff --git a/tests/source/configs-empty_item_single_line-true.rs b/tests/source/configs/empty_item_single_line/true.rs similarity index 100% rename from tests/source/configs-empty_item_single_line-true.rs rename to tests/source/configs/empty_item_single_line/true.rs diff --git a/tests/source/configs-error_on_line_overflow-false.rs b/tests/source/configs/error_on_line_overflow/false.rs similarity index 100% rename from tests/source/configs-error_on_line_overflow-false.rs rename to tests/source/configs/error_on_line_overflow/false.rs diff --git a/tests/source/configs-fn_args_density-compressed.rs b/tests/source/configs/fn_args_density/compressed.rs similarity index 100% rename from tests/source/configs-fn_args_density-compressed.rs rename to tests/source/configs/fn_args_density/compressed.rs diff --git a/tests/source/configs-fn_args_density-tall.rs b/tests/source/configs/fn_args_density/tall.rs similarity index 100% rename from tests/source/configs-fn_args_density-tall.rs rename to tests/source/configs/fn_args_density/tall.rs diff --git a/tests/source/configs-fn_args_density-vertical.rs b/tests/source/configs/fn_args_density/vertical.rs similarity index 100% rename from tests/source/configs-fn_args_density-vertical.rs rename to tests/source/configs/fn_args_density/vertical.rs diff --git a/tests/source/configs-fn_args_indent-block.rs b/tests/source/configs/fn_args_indent/block.rs similarity index 100% rename from tests/source/configs-fn_args_indent-block.rs rename to tests/source/configs/fn_args_indent/block.rs diff --git a/tests/source/configs-fn_args_indent-visual.rs b/tests/source/configs/fn_args_indent/visual.rs similarity index 100% rename from tests/source/configs-fn_args_indent-visual.rs rename to tests/source/configs/fn_args_indent/visual.rs diff --git a/tests/source/configs-fn_brace_style-always_next_line.rs b/tests/source/configs/fn_brace_style/always_next_line.rs similarity index 100% rename from tests/source/configs-fn_brace_style-always_next_line.rs rename to tests/source/configs/fn_brace_style/always_next_line.rs diff --git a/tests/source/configs-fn_brace_style-prefer_same_line.rs b/tests/source/configs/fn_brace_style/prefer_same_line.rs similarity index 100% rename from tests/source/configs-fn_brace_style-prefer_same_line.rs rename to tests/source/configs/fn_brace_style/prefer_same_line.rs diff --git a/tests/source/configs-fn_brace_style-same_line_where.rs b/tests/source/configs/fn_brace_style/same_line_where.rs similarity index 100% rename from tests/source/configs-fn_brace_style-same_line_where.rs rename to tests/source/configs/fn_brace_style/same_line_where.rs diff --git a/tests/source/configs-fn_call_indent-block.rs b/tests/source/configs/fn_call_indent/block.rs similarity index 100% rename from tests/source/configs-fn_call_indent-block.rs rename to tests/source/configs/fn_call_indent/block.rs diff --git a/tests/source/configs-fn_call_indent-block_trailing_comma.rs b/tests/source/configs/fn_call_indent/block_trailing_comma.rs similarity index 100% rename from tests/source/configs-fn_call_indent-block_trailing_comma.rs rename to tests/source/configs/fn_call_indent/block_trailing_comma.rs diff --git a/tests/source/configs-fn_call_indent-visual.rs b/tests/source/configs/fn_call_indent/visual.rs similarity index 100% rename from tests/source/configs-fn_call_indent-visual.rs rename to tests/source/configs/fn_call_indent/visual.rs diff --git a/tests/source/configs-fn_call_indent-visual_trailing_comma.rs b/tests/source/configs/fn_call_indent/visual_trailing_comma.rs similarity index 100% rename from tests/source/configs-fn_call_indent-visual_trailing_comma.rs rename to tests/source/configs/fn_call_indent/visual_trailing_comma.rs diff --git a/tests/source/configs-fn_single_line-false.rs b/tests/source/configs/fn_single_line/false.rs similarity index 100% rename from tests/source/configs-fn_single_line-false.rs rename to tests/source/configs/fn_single_line/false.rs diff --git a/tests/source/configs-fn_single_line-true.rs b/tests/source/configs/fn_single_line/true.rs similarity index 100% rename from tests/source/configs-fn_single_line-true.rs rename to tests/source/configs/fn_single_line/true.rs diff --git a/tests/source/configs-force_explicit_abi-false.rs b/tests/source/configs/force_explicit_abi/false.rs similarity index 100% rename from tests/source/configs-force_explicit_abi-false.rs rename to tests/source/configs/force_explicit_abi/false.rs diff --git a/tests/source/configs-force_explicit_abi-true.rs b/tests/source/configs/force_explicit_abi/true.rs similarity index 100% rename from tests/source/configs-force_explicit_abi-true.rs rename to tests/source/configs/force_explicit_abi/true.rs diff --git a/tests/source/configs-force_multiline_block-false.rs b/tests/source/configs/force_multiline_block/false.rs similarity index 100% rename from tests/source/configs-force_multiline_block-false.rs rename to tests/source/configs/force_multiline_block/false.rs diff --git a/tests/source/configs-force_multiline_block-true.rs b/tests/source/configs/force_multiline_block/true.rs similarity index 100% rename from tests/source/configs-force_multiline_block-true.rs rename to tests/source/configs/force_multiline_block/true.rs diff --git a/tests/source/configs-format_strings-false.rs b/tests/source/configs/format_strings/false.rs similarity index 100% rename from tests/source/configs-format_strings-false.rs rename to tests/source/configs/format_strings/false.rs diff --git a/tests/source/configs-format_strings-true.rs b/tests/source/configs/format_strings/true.rs similarity index 100% rename from tests/source/configs-format_strings-true.rs rename to tests/source/configs/format_strings/true.rs diff --git a/tests/source/configs-generics_indent-block.rs b/tests/source/configs/generics_indent/block.rs similarity index 100% rename from tests/source/configs-generics_indent-block.rs rename to tests/source/configs/generics_indent/block.rs diff --git a/tests/source/configs-generics_indent-visual.rs b/tests/source/configs/generics_indent/visual.rs similarity index 100% rename from tests/source/configs-generics_indent-visual.rs rename to tests/source/configs/generics_indent/visual.rs diff --git a/tests/source/configs-hard_tabs-false.rs b/tests/source/configs/hard_tabs/false.rs similarity index 100% rename from tests/source/configs-hard_tabs-false.rs rename to tests/source/configs/hard_tabs/false.rs diff --git a/tests/source/configs-hard_tabs-true.rs b/tests/source/configs/hard_tabs/true.rs similarity index 100% rename from tests/source/configs-hard_tabs-true.rs rename to tests/source/configs/hard_tabs/true.rs diff --git a/tests/source/configs-item_brace_style-always_next_line.rs b/tests/source/configs/item_brace_style/always_next_line.rs similarity index 100% rename from tests/source/configs-item_brace_style-always_next_line.rs rename to tests/source/configs/item_brace_style/always_next_line.rs diff --git a/tests/source/configs-item_brace_style-prefer_same_line.rs b/tests/source/configs/item_brace_style/prefer_same_line.rs similarity index 100% rename from tests/source/configs-item_brace_style-prefer_same_line.rs rename to tests/source/configs/item_brace_style/prefer_same_line.rs diff --git a/tests/source/configs-item_brace_style-same_line_where.rs b/tests/source/configs/item_brace_style/same_line_where.rs similarity index 100% rename from tests/source/configs-item_brace_style-same_line_where.rs rename to tests/source/configs/item_brace_style/same_line_where.rs diff --git a/tests/source/configs-match_arm_blocks-false.rs b/tests/source/configs/match_arm_blocks/false.rs similarity index 100% rename from tests/source/configs-match_arm_blocks-false.rs rename to tests/source/configs/match_arm_blocks/false.rs diff --git a/tests/source/configs-match_arm_blocks-true.rs b/tests/source/configs/match_arm_blocks/true.rs similarity index 100% rename from tests/source/configs-match_arm_blocks-true.rs rename to tests/source/configs/match_arm_blocks/true.rs diff --git a/tests/source/configs-match_block_trailing_comma-false.rs b/tests/source/configs/match_block_trailing_comma/false.rs similarity index 100% rename from tests/source/configs-match_block_trailing_comma-false.rs rename to tests/source/configs/match_block_trailing_comma/false.rs diff --git a/tests/source/configs-match_block_trailing_comma-true.rs b/tests/source/configs/match_block_trailing_comma/true.rs similarity index 100% rename from tests/source/configs-match_block_trailing_comma-true.rs rename to tests/source/configs/match_block_trailing_comma/true.rs diff --git a/tests/source/configs-merge_derives-true.rs b/tests/source/configs/merge_derives/true.rs similarity index 100% rename from tests/source/configs-merge_derives-true.rs rename to tests/source/configs/merge_derives/true.rs diff --git a/tests/source/configs-normalize_comments-false.rs b/tests/source/configs/normalize_comments/false.rs similarity index 100% rename from tests/source/configs-normalize_comments-false.rs rename to tests/source/configs/normalize_comments/false.rs diff --git a/tests/source/configs-normalize_comments-true.rs b/tests/source/configs/normalize_comments/true.rs similarity index 100% rename from tests/source/configs-normalize_comments-true.rs rename to tests/source/configs/normalize_comments/true.rs diff --git a/tests/source/configs-reorder_imported_names-false.rs b/tests/source/configs/reorder_imported_names/false.rs similarity index 100% rename from tests/source/configs-reorder_imported_names-false.rs rename to tests/source/configs/reorder_imported_names/false.rs diff --git a/tests/source/configs-reorder_imported_names-true.rs b/tests/source/configs/reorder_imported_names/true.rs similarity index 100% rename from tests/source/configs-reorder_imported_names-true.rs rename to tests/source/configs/reorder_imported_names/true.rs diff --git a/tests/source/configs-reorder_imports-false.rs b/tests/source/configs/reorder_imports/false.rs similarity index 100% rename from tests/source/configs-reorder_imports-false.rs rename to tests/source/configs/reorder_imports/false.rs diff --git a/tests/source/configs-reorder_imports-true.rs b/tests/source/configs/reorder_imports/true.rs similarity index 100% rename from tests/source/configs-reorder_imports-true.rs rename to tests/source/configs/reorder_imports/true.rs diff --git a/tests/source/configs-reorder_imports_in_group-false.rs b/tests/source/configs/reorder_imports_in_group/false.rs similarity index 100% rename from tests/source/configs-reorder_imports_in_group-false.rs rename to tests/source/configs/reorder_imports_in_group/false.rs diff --git a/tests/source/configs-reorder_imports_in_group-true.rs b/tests/source/configs/reorder_imports_in_group/true.rs similarity index 100% rename from tests/source/configs-reorder_imports_in_group-true.rs rename to tests/source/configs/reorder_imports_in_group/true.rs diff --git a/tests/source/configs-same_line_attributes-false.rs b/tests/source/configs/same_line_attributes/false.rs similarity index 100% rename from tests/source/configs-same_line_attributes-false.rs rename to tests/source/configs/same_line_attributes/false.rs diff --git a/tests/source/configs-same_line_attributes-true.rs b/tests/source/configs/same_line_attributes/true.rs similarity index 100% rename from tests/source/configs-same_line_attributes-true.rs rename to tests/source/configs/same_line_attributes/true.rs diff --git a/tests/source/configs-space_before_colon-true.rs b/tests/source/configs/space_before_colon/true.rs similarity index 100% rename from tests/source/configs-space_before_colon-true.rs rename to tests/source/configs/space_before_colon/true.rs diff --git a/tests/source/configs-spaces_around_ranges-false.rs b/tests/source/configs/spaces_around_ranges/false.rs similarity index 100% rename from tests/source/configs-spaces_around_ranges-false.rs rename to tests/source/configs/spaces_around_ranges/false.rs diff --git a/tests/source/configs-spaces_around_ranges-true.rs b/tests/source/configs/spaces_around_ranges/true.rs similarity index 100% rename from tests/source/configs-spaces_around_ranges-true.rs rename to tests/source/configs/spaces_around_ranges/true.rs diff --git a/tests/source/configs-spaces_within_parens_and_brackets-false.rs b/tests/source/configs/spaces_within_parens_and_brackets/false.rs similarity index 100% rename from tests/source/configs-spaces_within_parens_and_brackets-false.rs rename to tests/source/configs/spaces_within_parens_and_brackets/false.rs diff --git a/tests/source/configs-spaces_within_parens_and_brackets-true.rs b/tests/source/configs/spaces_within_parens_and_brackets/true.rs similarity index 100% rename from tests/source/configs-spaces_within_parens_and_brackets-true.rs rename to tests/source/configs/spaces_within_parens_and_brackets/true.rs diff --git a/tests/source/configs-struct_field_align_threshold-20.rs b/tests/source/configs/struct_field_align_threshold/20.rs similarity index 100% rename from tests/source/configs-struct_field_align_threshold-20.rs rename to tests/source/configs/struct_field_align_threshold/20.rs diff --git a/tests/source/configs-struct_lit_indent-block.rs b/tests/source/configs/struct_lit_indent/block.rs similarity index 100% rename from tests/source/configs-struct_lit_indent-block.rs rename to tests/source/configs/struct_lit_indent/block.rs diff --git a/tests/source/configs-struct_lit_indent-visual.rs b/tests/source/configs/struct_lit_indent/visual.rs similarity index 100% rename from tests/source/configs-struct_lit_indent-visual.rs rename to tests/source/configs/struct_lit_indent/visual.rs diff --git a/tests/source/configs-struct_lit_single_line-false.rs b/tests/source/configs/struct_lit_single_line/false.rs similarity index 100% rename from tests/source/configs-struct_lit_single_line-false.rs rename to tests/source/configs/struct_lit_single_line/false.rs diff --git a/tests/source/configs-tab_spaces-2.rs b/tests/source/configs/tab_spaces/2.rs similarity index 100% rename from tests/source/configs-tab_spaces-2.rs rename to tests/source/configs/tab_spaces/2.rs diff --git a/tests/source/configs-tab_spaces-4.rs b/tests/source/configs/tab_spaces/4.rs similarity index 100% rename from tests/source/configs-tab_spaces-4.rs rename to tests/source/configs/tab_spaces/4.rs diff --git a/tests/source/configs-trailing_comma-always.rs b/tests/source/configs/trailing_comma/always.rs similarity index 100% rename from tests/source/configs-trailing_comma-always.rs rename to tests/source/configs/trailing_comma/always.rs diff --git a/tests/source/configs-trailing_comma-never.rs b/tests/source/configs/trailing_comma/never.rs similarity index 100% rename from tests/source/configs-trailing_comma-never.rs rename to tests/source/configs/trailing_comma/never.rs diff --git a/tests/source/configs-trailing_comma-vertical.rs b/tests/source/configs/trailing_comma/vertical.rs similarity index 100% rename from tests/source/configs-trailing_comma-vertical.rs rename to tests/source/configs/trailing_comma/vertical.rs diff --git a/tests/source/configs-type_punctuation_density-compressed.rs b/tests/source/configs/type_punctuation_density/compressed.rs similarity index 100% rename from tests/source/configs-type_punctuation_density-compressed.rs rename to tests/source/configs/type_punctuation_density/compressed.rs diff --git a/tests/source/configs-type_punctuation_density-wide.rs b/tests/source/configs/type_punctuation_density/wide.rs similarity index 100% rename from tests/source/configs-type_punctuation_density-wide.rs rename to tests/source/configs/type_punctuation_density/wide.rs diff --git a/tests/source/configs-use_try_shorthand-false.rs b/tests/source/configs/use_try_shorthand/false.rs similarity index 100% rename from tests/source/configs-use_try_shorthand-false.rs rename to tests/source/configs/use_try_shorthand/false.rs diff --git a/tests/source/configs-use_try_shorthand-true.rs b/tests/source/configs/use_try_shorthand/true.rs similarity index 100% rename from tests/source/configs-use_try_shorthand-true.rs rename to tests/source/configs/use_try_shorthand/true.rs diff --git a/tests/source/configs-where_pred_indent-block.rs b/tests/source/configs/where_pred_indent/block.rs similarity index 100% rename from tests/source/configs-where_pred_indent-block.rs rename to tests/source/configs/where_pred_indent/block.rs diff --git a/tests/source/configs-where_pred_indent-visual.rs b/tests/source/configs/where_pred_indent/visual.rs similarity index 100% rename from tests/source/configs-where_pred_indent-visual.rs rename to tests/source/configs/where_pred_indent/visual.rs diff --git a/tests/source/configs-where_single_line-true.rs b/tests/source/configs/where_single_line/true.rs similarity index 100% rename from tests/source/configs-where_single_line-true.rs rename to tests/source/configs/where_single_line/true.rs diff --git a/tests/source/configs-where_style-default.rs b/tests/source/configs/where_style/default.rs similarity index 100% rename from tests/source/configs-where_style-default.rs rename to tests/source/configs/where_style/default.rs diff --git a/tests/source/configs-where_style-rfc.rs b/tests/source/configs/where_style/rfc.rs similarity index 100% rename from tests/source/configs-where_style-rfc.rs rename to tests/source/configs/where_style/rfc.rs diff --git a/tests/source/configs-wrap_comments-false.rs b/tests/source/configs/wrap_comments/false.rs similarity index 100% rename from tests/source/configs-wrap_comments-false.rs rename to tests/source/configs/wrap_comments/false.rs diff --git a/tests/source/configs-wrap_comments-true.rs b/tests/source/configs/wrap_comments/true.rs similarity index 100% rename from tests/source/configs-wrap_comments-true.rs rename to tests/source/configs/wrap_comments/true.rs diff --git a/tests/target/configs-array_indent-block.rs b/tests/target/configs/array_indent/block.rs similarity index 100% rename from tests/target/configs-array_indent-block.rs rename to tests/target/configs/array_indent/block.rs diff --git a/tests/target/configs-array_indent-visual.rs b/tests/target/configs/array_indent/visual.rs similarity index 100% rename from tests/target/configs-array_indent-visual.rs rename to tests/target/configs/array_indent/visual.rs diff --git a/tests/target/configs-blank_lines_lower_bound-1.rs b/tests/target/configs/blank_lines_lower_bound/1.rs similarity index 100% rename from tests/target/configs-blank_lines_lower_bound-1.rs rename to tests/target/configs/blank_lines_lower_bound/1.rs diff --git a/tests/target/configs-chain_indent-block.rs b/tests/target/configs/chain_indent/block.rs similarity index 100% rename from tests/target/configs-chain_indent-block.rs rename to tests/target/configs/chain_indent/block.rs diff --git a/tests/target/configs-chain_indent-visual.rs b/tests/target/configs/chain_indent/visual.rs similarity index 100% rename from tests/target/configs-chain_indent-visual.rs rename to tests/target/configs/chain_indent/visual.rs diff --git a/tests/target/configs-combine_control_expr-false.rs b/tests/target/configs/combine_control_expr/false.rs similarity index 100% rename from tests/target/configs-combine_control_expr-false.rs rename to tests/target/configs/combine_control_expr/false.rs diff --git a/tests/target/configs-combine_control_expr-true.rs b/tests/target/configs/combine_control_expr/true.rs similarity index 100% rename from tests/target/configs-combine_control_expr-true.rs rename to tests/target/configs/combine_control_expr/true.rs diff --git a/tests/target/configs-comment_width-above.rs b/tests/target/configs/comment_width/above.rs similarity index 100% rename from tests/target/configs-comment_width-above.rs rename to tests/target/configs/comment_width/above.rs diff --git a/tests/target/configs-comment_width-below.rs b/tests/target/configs/comment_width/below.rs similarity index 100% rename from tests/target/configs-comment_width-below.rs rename to tests/target/configs/comment_width/below.rs diff --git a/tests/target/configs-comment_width-ignore.rs b/tests/target/configs/comment_width/ignore.rs similarity index 100% rename from tests/target/configs-comment_width-ignore.rs rename to tests/target/configs/comment_width/ignore.rs diff --git a/tests/target/configs-condense_wildcard_suffices-false.rs b/tests/target/configs/condense_wildcard_suffices/false.rs similarity index 100% rename from tests/target/configs-condense_wildcard_suffices-false.rs rename to tests/target/configs/condense_wildcard_suffices/false.rs diff --git a/tests/target/configs-condense_wildcard_suffices-true.rs b/tests/target/configs/condense_wildcard_suffices/true.rs similarity index 100% rename from tests/target/configs-condense_wildcard_suffices-true.rs rename to tests/target/configs/condense_wildcard_suffices/true.rs diff --git a/tests/target/configs-control_brace_style-always_next_line.rs b/tests/target/configs/control_brace_style/always_next_line.rs similarity index 100% rename from tests/target/configs-control_brace_style-always_next_line.rs rename to tests/target/configs/control_brace_style/always_next_line.rs diff --git a/tests/target/configs-control_brace_style-always_same_line.rs b/tests/target/configs/control_brace_style/always_same_line.rs similarity index 100% rename from tests/target/configs-control_brace_style-always_same_line.rs rename to tests/target/configs/control_brace_style/always_same_line.rs diff --git a/tests/target/configs-control_brace_style-closing_next_line.rs b/tests/target/configs/control_brace_style/closing_next_line.rs similarity index 100% rename from tests/target/configs-control_brace_style-closing_next_line.rs rename to tests/target/configs/control_brace_style/closing_next_line.rs diff --git a/tests/target/configs-control_style-rfc.rs b/tests/target/configs/control_style/rfc.rs similarity index 100% rename from tests/target/configs-control_style-rfc.rs rename to tests/target/configs/control_style/rfc.rs diff --git a/tests/target/configs-disable_all_formatting-false.rs b/tests/target/configs/disable_all_formatting/false.rs similarity index 100% rename from tests/target/configs-disable_all_formatting-false.rs rename to tests/target/configs/disable_all_formatting/false.rs diff --git a/tests/target/configs-disable_all_formatting-true.rs b/tests/target/configs/disable_all_formatting/true.rs similarity index 100% rename from tests/target/configs-disable_all_formatting-true.rs rename to tests/target/configs/disable_all_formatting/true.rs diff --git a/tests/target/configs-empty_item_single_line-false.rs b/tests/target/configs/empty_item_single_line/false.rs similarity index 100% rename from tests/target/configs-empty_item_single_line-false.rs rename to tests/target/configs/empty_item_single_line/false.rs diff --git a/tests/target/configs-empty_item_single_line-true.rs b/tests/target/configs/empty_item_single_line/true.rs similarity index 100% rename from tests/target/configs-empty_item_single_line-true.rs rename to tests/target/configs/empty_item_single_line/true.rs diff --git a/tests/target/configs-error_on_line_overflow-false.rs b/tests/target/configs/error_on_line_overflow/false.rs similarity index 100% rename from tests/target/configs-error_on_line_overflow-false.rs rename to tests/target/configs/error_on_line_overflow/false.rs diff --git a/tests/target/configs-error_on_unformatted-false.rs b/tests/target/configs/error_on_unformatted/false.rs similarity index 100% rename from tests/target/configs-error_on_unformatted-false.rs rename to tests/target/configs/error_on_unformatted/false.rs diff --git a/tests/target/configs-fn_args_density-compressed.rs b/tests/target/configs/fn_args_density/compressed.rs similarity index 100% rename from tests/target/configs-fn_args_density-compressed.rs rename to tests/target/configs/fn_args_density/compressed.rs diff --git a/tests/target/configs-fn_args_density-tall.rs b/tests/target/configs/fn_args_density/tall.rs similarity index 100% rename from tests/target/configs-fn_args_density-tall.rs rename to tests/target/configs/fn_args_density/tall.rs diff --git a/tests/target/configs-fn_args_density-vertical.rs b/tests/target/configs/fn_args_density/vertical.rs similarity index 100% rename from tests/target/configs-fn_args_density-vertical.rs rename to tests/target/configs/fn_args_density/vertical.rs diff --git a/tests/target/configs-fn_args_indent-block.rs b/tests/target/configs/fn_args_indent/block.rs similarity index 100% rename from tests/target/configs-fn_args_indent-block.rs rename to tests/target/configs/fn_args_indent/block.rs diff --git a/tests/target/configs-fn_args_indent-visual.rs b/tests/target/configs/fn_args_indent/visual.rs similarity index 100% rename from tests/target/configs-fn_args_indent-visual.rs rename to tests/target/configs/fn_args_indent/visual.rs diff --git a/tests/target/configs-fn_brace_style-always_next_line.rs b/tests/target/configs/fn_brace_style/always_next_line.rs similarity index 100% rename from tests/target/configs-fn_brace_style-always_next_line.rs rename to tests/target/configs/fn_brace_style/always_next_line.rs diff --git a/tests/target/configs-fn_brace_style-prefer_same_line.rs b/tests/target/configs/fn_brace_style/prefer_same_line.rs similarity index 100% rename from tests/target/configs-fn_brace_style-prefer_same_line.rs rename to tests/target/configs/fn_brace_style/prefer_same_line.rs diff --git a/tests/target/configs-fn_brace_style-same_line_where.rs b/tests/target/configs/fn_brace_style/same_line_where.rs similarity index 100% rename from tests/target/configs-fn_brace_style-same_line_where.rs rename to tests/target/configs/fn_brace_style/same_line_where.rs diff --git a/tests/target/configs-fn_call_indent-block.rs b/tests/target/configs/fn_call_indent/block.rs similarity index 100% rename from tests/target/configs-fn_call_indent-block.rs rename to tests/target/configs/fn_call_indent/block.rs diff --git a/tests/target/configs-fn_call_indent-block_tab_spaces_2.rs b/tests/target/configs/fn_call_indent/block_tab_spaces_2.rs similarity index 100% rename from tests/target/configs-fn_call_indent-block_tab_spaces_2.rs rename to tests/target/configs/fn_call_indent/block_tab_spaces_2.rs diff --git a/tests/target/configs-fn_call_indent-block_trailing_comma.rs b/tests/target/configs/fn_call_indent/block_trailing_comma.rs similarity index 100% rename from tests/target/configs-fn_call_indent-block_trailing_comma.rs rename to tests/target/configs/fn_call_indent/block_trailing_comma.rs diff --git a/tests/target/configs-fn_call_indent-visual.rs b/tests/target/configs/fn_call_indent/visual.rs similarity index 100% rename from tests/target/configs-fn_call_indent-visual.rs rename to tests/target/configs/fn_call_indent/visual.rs diff --git a/tests/target/configs-fn_call_indent-visual_trailing_comma.rs b/tests/target/configs/fn_call_indent/visual_trailing_comma.rs similarity index 100% rename from tests/target/configs-fn_call_indent-visual_trailing_comma.rs rename to tests/target/configs/fn_call_indent/visual_trailing_comma.rs diff --git a/tests/target/configs-fn_single_line-false.rs b/tests/target/configs/fn_single_line/false.rs similarity index 100% rename from tests/target/configs-fn_single_line-false.rs rename to tests/target/configs/fn_single_line/false.rs diff --git a/tests/target/configs-fn_single_line-true.rs b/tests/target/configs/fn_single_line/true.rs similarity index 100% rename from tests/target/configs-fn_single_line-true.rs rename to tests/target/configs/fn_single_line/true.rs diff --git a/tests/target/configs-force_explicit_abi-false.rs b/tests/target/configs/force_explicit_abi/false.rs similarity index 100% rename from tests/target/configs-force_explicit_abi-false.rs rename to tests/target/configs/force_explicit_abi/false.rs diff --git a/tests/target/configs-force_explicit_abi-true.rs b/tests/target/configs/force_explicit_abi/true.rs similarity index 100% rename from tests/target/configs-force_explicit_abi-true.rs rename to tests/target/configs/force_explicit_abi/true.rs diff --git a/tests/target/configs-force_multiline_block-false.rs b/tests/target/configs/force_multiline_block/false.rs similarity index 100% rename from tests/target/configs-force_multiline_block-false.rs rename to tests/target/configs/force_multiline_block/false.rs diff --git a/tests/target/configs-force_multiline_block-true.rs b/tests/target/configs/force_multiline_block/true.rs similarity index 100% rename from tests/target/configs-force_multiline_block-true.rs rename to tests/target/configs/force_multiline_block/true.rs diff --git a/tests/target/configs-format_strings-false.rs b/tests/target/configs/format_strings/false.rs similarity index 100% rename from tests/target/configs-format_strings-false.rs rename to tests/target/configs/format_strings/false.rs diff --git a/tests/target/configs-format_strings-true.rs b/tests/target/configs/format_strings/true.rs similarity index 100% rename from tests/target/configs-format_strings-true.rs rename to tests/target/configs/format_strings/true.rs diff --git a/tests/target/configs-generics_indent-block.rs b/tests/target/configs/generics_indent/block.rs similarity index 100% rename from tests/target/configs-generics_indent-block.rs rename to tests/target/configs/generics_indent/block.rs diff --git a/tests/target/configs-generics_indent-visual.rs b/tests/target/configs/generics_indent/visual.rs similarity index 100% rename from tests/target/configs-generics_indent-visual.rs rename to tests/target/configs/generics_indent/visual.rs diff --git a/tests/target/configs-hard_tabs-false.rs b/tests/target/configs/hard_tabs/false.rs similarity index 100% rename from tests/target/configs-hard_tabs-false.rs rename to tests/target/configs/hard_tabs/false.rs diff --git a/tests/target/configs-hard_tabs-true.rs b/tests/target/configs/hard_tabs/true.rs similarity index 100% rename from tests/target/configs-hard_tabs-true.rs rename to tests/target/configs/hard_tabs/true.rs diff --git a/tests/target/configs-imports_indent-block.rs b/tests/target/configs/imports_indent/block.rs similarity index 100% rename from tests/target/configs-imports_indent-block.rs rename to tests/target/configs/imports_indent/block.rs diff --git a/tests/target/configs-imports_layout-horizontal_vertical.rs b/tests/target/configs/imports_layout/horizontal_vertical.rs similarity index 100% rename from tests/target/configs-imports_layout-horizontal_vertical.rs rename to tests/target/configs/imports_layout/horizontal_vertical.rs diff --git a/tests/target/configs-imports_layout-mixed.rs b/tests/target/configs/imports_layout/mixed.rs similarity index 100% rename from tests/target/configs-imports_layout-mixed.rs rename to tests/target/configs/imports_layout/mixed.rs diff --git a/tests/target/configs-item_brace_style-always_next_line.rs b/tests/target/configs/item_brace_style/always_next_line.rs similarity index 100% rename from tests/target/configs-item_brace_style-always_next_line.rs rename to tests/target/configs/item_brace_style/always_next_line.rs diff --git a/tests/target/configs-item_brace_style-prefer_same_line.rs b/tests/target/configs/item_brace_style/prefer_same_line.rs similarity index 100% rename from tests/target/configs-item_brace_style-prefer_same_line.rs rename to tests/target/configs/item_brace_style/prefer_same_line.rs diff --git a/tests/target/configs-item_brace_style-same_line_where.rs b/tests/target/configs/item_brace_style/same_line_where.rs similarity index 100% rename from tests/target/configs-item_brace_style-same_line_where.rs rename to tests/target/configs/item_brace_style/same_line_where.rs diff --git a/tests/target/configs-match_arm_blocks-false.rs b/tests/target/configs/match_arm_blocks/false.rs similarity index 100% rename from tests/target/configs-match_arm_blocks-false.rs rename to tests/target/configs/match_arm_blocks/false.rs diff --git a/tests/target/configs-match_arm_blocks-true.rs b/tests/target/configs/match_arm_blocks/true.rs similarity index 100% rename from tests/target/configs-match_arm_blocks-true.rs rename to tests/target/configs/match_arm_blocks/true.rs diff --git a/tests/target/configs-match_block_trailing_comma-false.rs b/tests/target/configs/match_block_trailing_comma/false.rs similarity index 100% rename from tests/target/configs-match_block_trailing_comma-false.rs rename to tests/target/configs/match_block_trailing_comma/false.rs diff --git a/tests/target/configs-match_block_trailing_comma-true.rs b/tests/target/configs/match_block_trailing_comma/true.rs similarity index 100% rename from tests/target/configs-match_block_trailing_comma-true.rs rename to tests/target/configs/match_block_trailing_comma/true.rs diff --git a/tests/target/configs-merge_derives-true.rs b/tests/target/configs/merge_derives/true.rs similarity index 100% rename from tests/target/configs-merge_derives-true.rs rename to tests/target/configs/merge_derives/true.rs diff --git a/tests/target/configs-normalize_comments-false.rs b/tests/target/configs/normalize_comments/false.rs similarity index 100% rename from tests/target/configs-normalize_comments-false.rs rename to tests/target/configs/normalize_comments/false.rs diff --git a/tests/target/configs-normalize_comments-true.rs b/tests/target/configs/normalize_comments/true.rs similarity index 100% rename from tests/target/configs-normalize_comments-true.rs rename to tests/target/configs/normalize_comments/true.rs diff --git a/tests/target/configs-reorder_imported_names-false.rs b/tests/target/configs/reorder_imported_names/false.rs similarity index 100% rename from tests/target/configs-reorder_imported_names-false.rs rename to tests/target/configs/reorder_imported_names/false.rs diff --git a/tests/target/configs-reorder_imported_names-true.rs b/tests/target/configs/reorder_imported_names/true.rs similarity index 100% rename from tests/target/configs-reorder_imported_names-true.rs rename to tests/target/configs/reorder_imported_names/true.rs diff --git a/tests/target/configs-reorder_imports-false.rs b/tests/target/configs/reorder_imports/false.rs similarity index 100% rename from tests/target/configs-reorder_imports-false.rs rename to tests/target/configs/reorder_imports/false.rs diff --git a/tests/target/configs-reorder_imports-true.rs b/tests/target/configs/reorder_imports/true.rs similarity index 100% rename from tests/target/configs-reorder_imports-true.rs rename to tests/target/configs/reorder_imports/true.rs diff --git a/tests/target/configs-reorder_imports_in_group-false.rs b/tests/target/configs/reorder_imports_in_group/false.rs similarity index 100% rename from tests/target/configs-reorder_imports_in_group-false.rs rename to tests/target/configs/reorder_imports_in_group/false.rs diff --git a/tests/target/configs-reorder_imports_in_group-true.rs b/tests/target/configs/reorder_imports_in_group/true.rs similarity index 100% rename from tests/target/configs-reorder_imports_in_group-true.rs rename to tests/target/configs/reorder_imports_in_group/true.rs diff --git a/tests/target/configs-same_line_attributes-false.rs b/tests/target/configs/same_line_attributes/false.rs similarity index 100% rename from tests/target/configs-same_line_attributes-false.rs rename to tests/target/configs/same_line_attributes/false.rs diff --git a/tests/target/configs-same_line_attributes-true.rs b/tests/target/configs/same_line_attributes/true.rs similarity index 100% rename from tests/target/configs-same_line_attributes-true.rs rename to tests/target/configs/same_line_attributes/true.rs diff --git a/tests/target/configs-space_before_colon-true.rs b/tests/target/configs/space_before_colon/true.rs similarity index 100% rename from tests/target/configs-space_before_colon-true.rs rename to tests/target/configs/space_before_colon/true.rs diff --git a/tests/target/configs-spaces_around_ranges-false.rs b/tests/target/configs/spaces_around_ranges/false.rs similarity index 100% rename from tests/target/configs-spaces_around_ranges-false.rs rename to tests/target/configs/spaces_around_ranges/false.rs diff --git a/tests/target/configs-spaces_around_ranges-true.rs b/tests/target/configs/spaces_around_ranges/true.rs similarity index 100% rename from tests/target/configs-spaces_around_ranges-true.rs rename to tests/target/configs/spaces_around_ranges/true.rs diff --git a/tests/target/configs-spaces_within_parens_and_brackets-false.rs b/tests/target/configs/spaces_within_parens_and_brackets/false.rs similarity index 100% rename from tests/target/configs-spaces_within_parens_and_brackets-false.rs rename to tests/target/configs/spaces_within_parens_and_brackets/false.rs diff --git a/tests/target/configs-spaces_within_parens_and_brackets-true.rs b/tests/target/configs/spaces_within_parens_and_brackets/true.rs similarity index 100% rename from tests/target/configs-spaces_within_parens_and_brackets-true.rs rename to tests/target/configs/spaces_within_parens_and_brackets/true.rs diff --git a/tests/target/configs-struct_field_align_threshold-20.rs b/tests/target/configs/struct_field_align_threshold/20.rs similarity index 100% rename from tests/target/configs-struct_field_align_threshold-20.rs rename to tests/target/configs/struct_field_align_threshold/20.rs diff --git a/tests/target/configs-struct_lit_indent-block.rs b/tests/target/configs/struct_lit_indent/block.rs similarity index 100% rename from tests/target/configs-struct_lit_indent-block.rs rename to tests/target/configs/struct_lit_indent/block.rs diff --git a/tests/target/configs-struct_lit_indent-visual.rs b/tests/target/configs/struct_lit_indent/visual.rs similarity index 100% rename from tests/target/configs-struct_lit_indent-visual.rs rename to tests/target/configs/struct_lit_indent/visual.rs diff --git a/tests/target/configs-struct_lit_single_line-false.rs b/tests/target/configs/struct_lit_single_line/false.rs similarity index 100% rename from tests/target/configs-struct_lit_single_line-false.rs rename to tests/target/configs/struct_lit_single_line/false.rs diff --git a/tests/target/configs-tab_spaces-2.rs b/tests/target/configs/tab_spaces/2.rs similarity index 100% rename from tests/target/configs-tab_spaces-2.rs rename to tests/target/configs/tab_spaces/2.rs diff --git a/tests/target/configs-tab_spaces-4.rs b/tests/target/configs/tab_spaces/4.rs similarity index 100% rename from tests/target/configs-tab_spaces-4.rs rename to tests/target/configs/tab_spaces/4.rs diff --git a/tests/target/configs-trailing_comma-always.rs b/tests/target/configs/trailing_comma/always.rs similarity index 100% rename from tests/target/configs-trailing_comma-always.rs rename to tests/target/configs/trailing_comma/always.rs diff --git a/tests/target/configs-trailing_comma-never.rs b/tests/target/configs/trailing_comma/never.rs similarity index 100% rename from tests/target/configs-trailing_comma-never.rs rename to tests/target/configs/trailing_comma/never.rs diff --git a/tests/target/configs-trailing_comma-vertical.rs b/tests/target/configs/trailing_comma/vertical.rs similarity index 100% rename from tests/target/configs-trailing_comma-vertical.rs rename to tests/target/configs/trailing_comma/vertical.rs diff --git a/tests/target/configs-trailing_semicolon-false.rs b/tests/target/configs/trailing_semicolon/false.rs similarity index 100% rename from tests/target/configs-trailing_semicolon-false.rs rename to tests/target/configs/trailing_semicolon/false.rs diff --git a/tests/target/configs-trailing_semicolon-true.rs b/tests/target/configs/trailing_semicolon/true.rs similarity index 100% rename from tests/target/configs-trailing_semicolon-true.rs rename to tests/target/configs/trailing_semicolon/true.rs diff --git a/tests/target/configs-type_punctuation_density-compressed.rs b/tests/target/configs/type_punctuation_density/compressed.rs similarity index 100% rename from tests/target/configs-type_punctuation_density-compressed.rs rename to tests/target/configs/type_punctuation_density/compressed.rs diff --git a/tests/target/configs-type_punctuation_density-wide.rs b/tests/target/configs/type_punctuation_density/wide.rs similarity index 100% rename from tests/target/configs-type_punctuation_density-wide.rs rename to tests/target/configs/type_punctuation_density/wide.rs diff --git a/tests/target/configs-use_try_shorthand-false.rs b/tests/target/configs/use_try_shorthand/false.rs similarity index 100% rename from tests/target/configs-use_try_shorthand-false.rs rename to tests/target/configs/use_try_shorthand/false.rs diff --git a/tests/target/configs-use_try_shorthand-true.rs b/tests/target/configs/use_try_shorthand/true.rs similarity index 100% rename from tests/target/configs-use_try_shorthand-true.rs rename to tests/target/configs/use_try_shorthand/true.rs diff --git a/tests/target/configs-where_pred_indent-block.rs b/tests/target/configs/where_pred_indent/block.rs similarity index 100% rename from tests/target/configs-where_pred_indent-block.rs rename to tests/target/configs/where_pred_indent/block.rs diff --git a/tests/target/configs-where_pred_indent-visual.rs b/tests/target/configs/where_pred_indent/visual.rs similarity index 100% rename from tests/target/configs-where_pred_indent-visual.rs rename to tests/target/configs/where_pred_indent/visual.rs diff --git a/tests/target/configs-where_single_line-true.rs b/tests/target/configs/where_single_line/true.rs similarity index 100% rename from tests/target/configs-where_single_line-true.rs rename to tests/target/configs/where_single_line/true.rs diff --git a/tests/target/configs-where_style-default.rs b/tests/target/configs/where_style/default.rs similarity index 100% rename from tests/target/configs-where_style-default.rs rename to tests/target/configs/where_style/default.rs diff --git a/tests/target/configs-where_style-rfc.rs b/tests/target/configs/where_style/rfc.rs similarity index 100% rename from tests/target/configs-where_style-rfc.rs rename to tests/target/configs/where_style/rfc.rs diff --git a/tests/target/configs-wrap_comments-false.rs b/tests/target/configs/wrap_comments/false.rs similarity index 100% rename from tests/target/configs-wrap_comments-false.rs rename to tests/target/configs/wrap_comments/false.rs diff --git a/tests/target/configs-wrap_comments-true.rs b/tests/target/configs/wrap_comments/true.rs similarity index 100% rename from tests/target/configs-wrap_comments-true.rs rename to tests/target/configs/wrap_comments/true.rs From 72dc52ec2c32581507752319576231f11ac0e048 Mon Sep 17 00:00:00 2001 From: David Alber Date: Thu, 28 Dec 2017 01:02:59 -0800 Subject: [PATCH 4/6] Testing that config option tests use the expected config option --- tests/system.rs | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/tests/system.rs b/tests/system.rs index 69da2b2e4322..c5ae416cdc5a 100644 --- a/tests/system.rs +++ b/tests/system.rs @@ -52,6 +52,52 @@ fn get_test_files(path: &Path, recursive: bool) -> Vec { files } +fn verify_config_used(path: &Path, config_name: &str) { + for entry in fs::read_dir(path).expect(&format!( + "Couldn't read {} directory", + path.to_str().unwrap() + )) { + let entry = entry.expect("Couldn't get directory entry"); + let path = entry.path(); + if path.extension().map_or(false, |f| f == "rs") { + // check if "// rustfmt-:" appears in the file. + let filebuf = BufReader::new( + fs::File::open(&path).expect(&format!("Couldn't read file {}", path.display())), + ); + assert!( + filebuf + .lines() + .map(|l| l.unwrap()) + .take_while(|l| l.starts_with("//")) + .any(|l| l.starts_with(&format!("// rustfmt-{}", config_name))), + format!( + "config option file {} does not contain expected config name", + path.display() + ) + ); + } + } +} + +#[test] +fn verify_config_test_names() { + for path in &[ + Path::new("tests/source/configs"), + Path::new("tests/target/configs"), + ] { + for entry in fs::read_dir(path).expect("Couldn't read configs directory") { + let entry = entry.expect("Couldn't get DirEntry"); + let path = entry.path(); + if path.is_dir() { + let config_name = path.file_name().unwrap().to_str().unwrap(); + + // Make sure that config name is used in the files in the directory. + verify_config_used(&path, &config_name); + } + } + } +} + // Integration tests. The files in the tests/source are formatted and compared // to their equivalent in tests/target. The target file and config can be // overridden by annotations in the source file. The input and output must match From aa70bbe377e0fa39f07406ce2266f5d627eb2f35 Mon Sep 17 00:00:00 2001 From: David Alber Date: Thu, 28 Dec 2017 10:19:02 -0800 Subject: [PATCH 5/6] Moving test files to satisfy `verify_config_test_names` test --- .../always_next_line.rs => brace_style/fn_always_next_line.rs} | 0 .../prefer_same_line.rs => brace_style/fn_prefer_same_line.rs} | 0 .../same_line_where.rs => brace_style/fn_same_line_where.rs} | 0 .../always_next_line.rs => brace_style/item_always_next_line.rs} | 0 .../prefer_same_line.rs => brace_style/item_prefer_same_line.rs} | 0 .../same_line_where.rs => brace_style/item_same_line_where.rs} | 0 .../false.rs | 0 .../true.rs | 0 .../{fn_args_indent/block.rs => indent_style/block_args.rs} | 0 .../{array_indent/block.rs => indent_style/block_array.rs} | 0 .../{fn_call_indent/block.rs => indent_style/block_call.rs} | 0 .../{chain_indent/block.rs => indent_style/block_chain.rs} | 0 .../{generics_indent/block.rs => indent_style/block_generic.rs} | 0 .../block.rs => indent_style/block_struct_lit.rs} | 0 .../block_trailing_comma_call.rs} | 0 .../block.rs => indent_style/block_where_pred.rs} | 0 tests/source/configs/{where_style => indent_style}/default.rs | 0 .../configs/{where_style/rfc.rs => indent_style/rfc_where.rs} | 0 .../{fn_args_indent/visual.rs => indent_style/visual_args.rs} | 0 .../{array_indent/visual.rs => indent_style/visual_array.rs} | 0 .../{fn_call_indent/visual.rs => indent_style/visual_call.rs} | 0 .../{chain_indent/visual.rs => indent_style/visual_chain.rs} | 0 .../visual.rs => indent_style/visual_generics.rs} | 0 .../visual.rs => indent_style/visual_struct_lit.rs} | 0 .../{fn_call_indent => indent_style}/visual_trailing_comma.rs | 0 .../visual.rs => indent_style/visual_where_pred.rs} | 0 .../always_next_line.rs => brace_style/fn_always_next_line.rs} | 0 .../prefer_same_line.rs => brace_style/fn_prefer_same_line.rs} | 0 .../same_line_where.rs => brace_style/fn_same_line_where.rs} | 0 .../always_next_line.rs => brace_style/item_always_next_line.rs} | 0 .../prefer_same_line.rs => brace_style/item_prefer_same_line.rs} | 0 .../same_line_where.rs => brace_style/item_same_line_where.rs} | 0 .../false.rs | 0 .../true.rs | 0 .../{fn_args_indent/block.rs => indent_style/block_args.rs} | 0 .../{array_indent/block.rs => indent_style/block_array.rs} | 0 .../{fn_call_indent/block.rs => indent_style/block_call.rs} | 0 .../{chain_indent/block.rs => indent_style/block_chain.rs} | 0 .../{generics_indent/block.rs => indent_style/block_generic.rs} | 0 .../block.rs => indent_style/block_struct_lit.rs} | 0 .../block_tab_spaces_call.rs} | 0 .../block_trailing_comma_call.rs} | 0 .../block.rs => indent_style/block_where_pred.rs} | 0 tests/target/configs/{where_style => indent_style}/default.rs | 0 .../configs/{control_style/rfc.rs => indent_style/rfc_control.rs} | 0 .../configs/{where_style/rfc.rs => indent_style/rfc_where.rs} | 0 .../{fn_args_indent/visual.rs => indent_style/visual_args.rs} | 0 .../{array_indent/visual.rs => indent_style/visual_array.rs} | 0 .../{fn_call_indent/visual.rs => indent_style/visual_call.rs} | 0 .../{chain_indent/visual.rs => indent_style/visual_chain.rs} | 0 .../visual.rs => indent_style/visual_generics.rs} | 0 .../visual.rs => indent_style/visual_struct_lit.rs} | 0 .../{fn_call_indent => indent_style}/visual_trailing_comma.rs | 0 .../visual.rs => indent_style/visual_where_pred.rs} | 0 54 files changed, 0 insertions(+), 0 deletions(-) rename tests/source/configs/{fn_brace_style/always_next_line.rs => brace_style/fn_always_next_line.rs} (100%) rename tests/source/configs/{fn_brace_style/prefer_same_line.rs => brace_style/fn_prefer_same_line.rs} (100%) rename tests/source/configs/{fn_brace_style/same_line_where.rs => brace_style/fn_same_line_where.rs} (100%) rename tests/source/configs/{item_brace_style/always_next_line.rs => brace_style/item_always_next_line.rs} (100%) rename tests/source/configs/{item_brace_style/prefer_same_line.rs => brace_style/item_prefer_same_line.rs} (100%) rename tests/source/configs/{item_brace_style/same_line_where.rs => brace_style/item_same_line_where.rs} (100%) rename tests/source/configs/{condense_wildcard_suffices => condense_wildcard_suffixes}/false.rs (100%) rename tests/source/configs/{condense_wildcard_suffices => condense_wildcard_suffixes}/true.rs (100%) rename tests/source/configs/{fn_args_indent/block.rs => indent_style/block_args.rs} (100%) rename tests/source/configs/{array_indent/block.rs => indent_style/block_array.rs} (100%) rename tests/source/configs/{fn_call_indent/block.rs => indent_style/block_call.rs} (100%) rename tests/source/configs/{chain_indent/block.rs => indent_style/block_chain.rs} (100%) rename tests/source/configs/{generics_indent/block.rs => indent_style/block_generic.rs} (100%) rename tests/source/configs/{struct_lit_indent/block.rs => indent_style/block_struct_lit.rs} (100%) rename tests/source/configs/{fn_call_indent/block_trailing_comma.rs => indent_style/block_trailing_comma_call.rs} (100%) rename tests/source/configs/{where_pred_indent/block.rs => indent_style/block_where_pred.rs} (100%) rename tests/source/configs/{where_style => indent_style}/default.rs (100%) rename tests/source/configs/{where_style/rfc.rs => indent_style/rfc_where.rs} (100%) rename tests/source/configs/{fn_args_indent/visual.rs => indent_style/visual_args.rs} (100%) rename tests/source/configs/{array_indent/visual.rs => indent_style/visual_array.rs} (100%) rename tests/source/configs/{fn_call_indent/visual.rs => indent_style/visual_call.rs} (100%) rename tests/source/configs/{chain_indent/visual.rs => indent_style/visual_chain.rs} (100%) rename tests/source/configs/{generics_indent/visual.rs => indent_style/visual_generics.rs} (100%) rename tests/source/configs/{struct_lit_indent/visual.rs => indent_style/visual_struct_lit.rs} (100%) rename tests/source/configs/{fn_call_indent => indent_style}/visual_trailing_comma.rs (100%) rename tests/source/configs/{where_pred_indent/visual.rs => indent_style/visual_where_pred.rs} (100%) rename tests/target/configs/{fn_brace_style/always_next_line.rs => brace_style/fn_always_next_line.rs} (100%) rename tests/target/configs/{fn_brace_style/prefer_same_line.rs => brace_style/fn_prefer_same_line.rs} (100%) rename tests/target/configs/{fn_brace_style/same_line_where.rs => brace_style/fn_same_line_where.rs} (100%) rename tests/target/configs/{item_brace_style/always_next_line.rs => brace_style/item_always_next_line.rs} (100%) rename tests/target/configs/{item_brace_style/prefer_same_line.rs => brace_style/item_prefer_same_line.rs} (100%) rename tests/target/configs/{item_brace_style/same_line_where.rs => brace_style/item_same_line_where.rs} (100%) rename tests/target/configs/{condense_wildcard_suffices => condense_wildcard_suffixes}/false.rs (100%) rename tests/target/configs/{condense_wildcard_suffices => condense_wildcard_suffixes}/true.rs (100%) rename tests/target/configs/{fn_args_indent/block.rs => indent_style/block_args.rs} (100%) rename tests/target/configs/{array_indent/block.rs => indent_style/block_array.rs} (100%) rename tests/target/configs/{fn_call_indent/block.rs => indent_style/block_call.rs} (100%) rename tests/target/configs/{chain_indent/block.rs => indent_style/block_chain.rs} (100%) rename tests/target/configs/{generics_indent/block.rs => indent_style/block_generic.rs} (100%) rename tests/target/configs/{struct_lit_indent/block.rs => indent_style/block_struct_lit.rs} (100%) rename tests/target/configs/{fn_call_indent/block_tab_spaces_2.rs => indent_style/block_tab_spaces_call.rs} (100%) rename tests/target/configs/{fn_call_indent/block_trailing_comma.rs => indent_style/block_trailing_comma_call.rs} (100%) rename tests/target/configs/{where_pred_indent/block.rs => indent_style/block_where_pred.rs} (100%) rename tests/target/configs/{where_style => indent_style}/default.rs (100%) rename tests/target/configs/{control_style/rfc.rs => indent_style/rfc_control.rs} (100%) rename tests/target/configs/{where_style/rfc.rs => indent_style/rfc_where.rs} (100%) rename tests/target/configs/{fn_args_indent/visual.rs => indent_style/visual_args.rs} (100%) rename tests/target/configs/{array_indent/visual.rs => indent_style/visual_array.rs} (100%) rename tests/target/configs/{fn_call_indent/visual.rs => indent_style/visual_call.rs} (100%) rename tests/target/configs/{chain_indent/visual.rs => indent_style/visual_chain.rs} (100%) rename tests/target/configs/{generics_indent/visual.rs => indent_style/visual_generics.rs} (100%) rename tests/target/configs/{struct_lit_indent/visual.rs => indent_style/visual_struct_lit.rs} (100%) rename tests/target/configs/{fn_call_indent => indent_style}/visual_trailing_comma.rs (100%) rename tests/target/configs/{where_pred_indent/visual.rs => indent_style/visual_where_pred.rs} (100%) diff --git a/tests/source/configs/fn_brace_style/always_next_line.rs b/tests/source/configs/brace_style/fn_always_next_line.rs similarity index 100% rename from tests/source/configs/fn_brace_style/always_next_line.rs rename to tests/source/configs/brace_style/fn_always_next_line.rs diff --git a/tests/source/configs/fn_brace_style/prefer_same_line.rs b/tests/source/configs/brace_style/fn_prefer_same_line.rs similarity index 100% rename from tests/source/configs/fn_brace_style/prefer_same_line.rs rename to tests/source/configs/brace_style/fn_prefer_same_line.rs diff --git a/tests/source/configs/fn_brace_style/same_line_where.rs b/tests/source/configs/brace_style/fn_same_line_where.rs similarity index 100% rename from tests/source/configs/fn_brace_style/same_line_where.rs rename to tests/source/configs/brace_style/fn_same_line_where.rs diff --git a/tests/source/configs/item_brace_style/always_next_line.rs b/tests/source/configs/brace_style/item_always_next_line.rs similarity index 100% rename from tests/source/configs/item_brace_style/always_next_line.rs rename to tests/source/configs/brace_style/item_always_next_line.rs diff --git a/tests/source/configs/item_brace_style/prefer_same_line.rs b/tests/source/configs/brace_style/item_prefer_same_line.rs similarity index 100% rename from tests/source/configs/item_brace_style/prefer_same_line.rs rename to tests/source/configs/brace_style/item_prefer_same_line.rs diff --git a/tests/source/configs/item_brace_style/same_line_where.rs b/tests/source/configs/brace_style/item_same_line_where.rs similarity index 100% rename from tests/source/configs/item_brace_style/same_line_where.rs rename to tests/source/configs/brace_style/item_same_line_where.rs diff --git a/tests/source/configs/condense_wildcard_suffices/false.rs b/tests/source/configs/condense_wildcard_suffixes/false.rs similarity index 100% rename from tests/source/configs/condense_wildcard_suffices/false.rs rename to tests/source/configs/condense_wildcard_suffixes/false.rs diff --git a/tests/source/configs/condense_wildcard_suffices/true.rs b/tests/source/configs/condense_wildcard_suffixes/true.rs similarity index 100% rename from tests/source/configs/condense_wildcard_suffices/true.rs rename to tests/source/configs/condense_wildcard_suffixes/true.rs diff --git a/tests/source/configs/fn_args_indent/block.rs b/tests/source/configs/indent_style/block_args.rs similarity index 100% rename from tests/source/configs/fn_args_indent/block.rs rename to tests/source/configs/indent_style/block_args.rs diff --git a/tests/source/configs/array_indent/block.rs b/tests/source/configs/indent_style/block_array.rs similarity index 100% rename from tests/source/configs/array_indent/block.rs rename to tests/source/configs/indent_style/block_array.rs diff --git a/tests/source/configs/fn_call_indent/block.rs b/tests/source/configs/indent_style/block_call.rs similarity index 100% rename from tests/source/configs/fn_call_indent/block.rs rename to tests/source/configs/indent_style/block_call.rs diff --git a/tests/source/configs/chain_indent/block.rs b/tests/source/configs/indent_style/block_chain.rs similarity index 100% rename from tests/source/configs/chain_indent/block.rs rename to tests/source/configs/indent_style/block_chain.rs diff --git a/tests/source/configs/generics_indent/block.rs b/tests/source/configs/indent_style/block_generic.rs similarity index 100% rename from tests/source/configs/generics_indent/block.rs rename to tests/source/configs/indent_style/block_generic.rs diff --git a/tests/source/configs/struct_lit_indent/block.rs b/tests/source/configs/indent_style/block_struct_lit.rs similarity index 100% rename from tests/source/configs/struct_lit_indent/block.rs rename to tests/source/configs/indent_style/block_struct_lit.rs diff --git a/tests/source/configs/fn_call_indent/block_trailing_comma.rs b/tests/source/configs/indent_style/block_trailing_comma_call.rs similarity index 100% rename from tests/source/configs/fn_call_indent/block_trailing_comma.rs rename to tests/source/configs/indent_style/block_trailing_comma_call.rs diff --git a/tests/source/configs/where_pred_indent/block.rs b/tests/source/configs/indent_style/block_where_pred.rs similarity index 100% rename from tests/source/configs/where_pred_indent/block.rs rename to tests/source/configs/indent_style/block_where_pred.rs diff --git a/tests/source/configs/where_style/default.rs b/tests/source/configs/indent_style/default.rs similarity index 100% rename from tests/source/configs/where_style/default.rs rename to tests/source/configs/indent_style/default.rs diff --git a/tests/source/configs/where_style/rfc.rs b/tests/source/configs/indent_style/rfc_where.rs similarity index 100% rename from tests/source/configs/where_style/rfc.rs rename to tests/source/configs/indent_style/rfc_where.rs diff --git a/tests/source/configs/fn_args_indent/visual.rs b/tests/source/configs/indent_style/visual_args.rs similarity index 100% rename from tests/source/configs/fn_args_indent/visual.rs rename to tests/source/configs/indent_style/visual_args.rs diff --git a/tests/source/configs/array_indent/visual.rs b/tests/source/configs/indent_style/visual_array.rs similarity index 100% rename from tests/source/configs/array_indent/visual.rs rename to tests/source/configs/indent_style/visual_array.rs diff --git a/tests/source/configs/fn_call_indent/visual.rs b/tests/source/configs/indent_style/visual_call.rs similarity index 100% rename from tests/source/configs/fn_call_indent/visual.rs rename to tests/source/configs/indent_style/visual_call.rs diff --git a/tests/source/configs/chain_indent/visual.rs b/tests/source/configs/indent_style/visual_chain.rs similarity index 100% rename from tests/source/configs/chain_indent/visual.rs rename to tests/source/configs/indent_style/visual_chain.rs diff --git a/tests/source/configs/generics_indent/visual.rs b/tests/source/configs/indent_style/visual_generics.rs similarity index 100% rename from tests/source/configs/generics_indent/visual.rs rename to tests/source/configs/indent_style/visual_generics.rs diff --git a/tests/source/configs/struct_lit_indent/visual.rs b/tests/source/configs/indent_style/visual_struct_lit.rs similarity index 100% rename from tests/source/configs/struct_lit_indent/visual.rs rename to tests/source/configs/indent_style/visual_struct_lit.rs diff --git a/tests/source/configs/fn_call_indent/visual_trailing_comma.rs b/tests/source/configs/indent_style/visual_trailing_comma.rs similarity index 100% rename from tests/source/configs/fn_call_indent/visual_trailing_comma.rs rename to tests/source/configs/indent_style/visual_trailing_comma.rs diff --git a/tests/source/configs/where_pred_indent/visual.rs b/tests/source/configs/indent_style/visual_where_pred.rs similarity index 100% rename from tests/source/configs/where_pred_indent/visual.rs rename to tests/source/configs/indent_style/visual_where_pred.rs diff --git a/tests/target/configs/fn_brace_style/always_next_line.rs b/tests/target/configs/brace_style/fn_always_next_line.rs similarity index 100% rename from tests/target/configs/fn_brace_style/always_next_line.rs rename to tests/target/configs/brace_style/fn_always_next_line.rs diff --git a/tests/target/configs/fn_brace_style/prefer_same_line.rs b/tests/target/configs/brace_style/fn_prefer_same_line.rs similarity index 100% rename from tests/target/configs/fn_brace_style/prefer_same_line.rs rename to tests/target/configs/brace_style/fn_prefer_same_line.rs diff --git a/tests/target/configs/fn_brace_style/same_line_where.rs b/tests/target/configs/brace_style/fn_same_line_where.rs similarity index 100% rename from tests/target/configs/fn_brace_style/same_line_where.rs rename to tests/target/configs/brace_style/fn_same_line_where.rs diff --git a/tests/target/configs/item_brace_style/always_next_line.rs b/tests/target/configs/brace_style/item_always_next_line.rs similarity index 100% rename from tests/target/configs/item_brace_style/always_next_line.rs rename to tests/target/configs/brace_style/item_always_next_line.rs diff --git a/tests/target/configs/item_brace_style/prefer_same_line.rs b/tests/target/configs/brace_style/item_prefer_same_line.rs similarity index 100% rename from tests/target/configs/item_brace_style/prefer_same_line.rs rename to tests/target/configs/brace_style/item_prefer_same_line.rs diff --git a/tests/target/configs/item_brace_style/same_line_where.rs b/tests/target/configs/brace_style/item_same_line_where.rs similarity index 100% rename from tests/target/configs/item_brace_style/same_line_where.rs rename to tests/target/configs/brace_style/item_same_line_where.rs diff --git a/tests/target/configs/condense_wildcard_suffices/false.rs b/tests/target/configs/condense_wildcard_suffixes/false.rs similarity index 100% rename from tests/target/configs/condense_wildcard_suffices/false.rs rename to tests/target/configs/condense_wildcard_suffixes/false.rs diff --git a/tests/target/configs/condense_wildcard_suffices/true.rs b/tests/target/configs/condense_wildcard_suffixes/true.rs similarity index 100% rename from tests/target/configs/condense_wildcard_suffices/true.rs rename to tests/target/configs/condense_wildcard_suffixes/true.rs diff --git a/tests/target/configs/fn_args_indent/block.rs b/tests/target/configs/indent_style/block_args.rs similarity index 100% rename from tests/target/configs/fn_args_indent/block.rs rename to tests/target/configs/indent_style/block_args.rs diff --git a/tests/target/configs/array_indent/block.rs b/tests/target/configs/indent_style/block_array.rs similarity index 100% rename from tests/target/configs/array_indent/block.rs rename to tests/target/configs/indent_style/block_array.rs diff --git a/tests/target/configs/fn_call_indent/block.rs b/tests/target/configs/indent_style/block_call.rs similarity index 100% rename from tests/target/configs/fn_call_indent/block.rs rename to tests/target/configs/indent_style/block_call.rs diff --git a/tests/target/configs/chain_indent/block.rs b/tests/target/configs/indent_style/block_chain.rs similarity index 100% rename from tests/target/configs/chain_indent/block.rs rename to tests/target/configs/indent_style/block_chain.rs diff --git a/tests/target/configs/generics_indent/block.rs b/tests/target/configs/indent_style/block_generic.rs similarity index 100% rename from tests/target/configs/generics_indent/block.rs rename to tests/target/configs/indent_style/block_generic.rs diff --git a/tests/target/configs/struct_lit_indent/block.rs b/tests/target/configs/indent_style/block_struct_lit.rs similarity index 100% rename from tests/target/configs/struct_lit_indent/block.rs rename to tests/target/configs/indent_style/block_struct_lit.rs diff --git a/tests/target/configs/fn_call_indent/block_tab_spaces_2.rs b/tests/target/configs/indent_style/block_tab_spaces_call.rs similarity index 100% rename from tests/target/configs/fn_call_indent/block_tab_spaces_2.rs rename to tests/target/configs/indent_style/block_tab_spaces_call.rs diff --git a/tests/target/configs/fn_call_indent/block_trailing_comma.rs b/tests/target/configs/indent_style/block_trailing_comma_call.rs similarity index 100% rename from tests/target/configs/fn_call_indent/block_trailing_comma.rs rename to tests/target/configs/indent_style/block_trailing_comma_call.rs diff --git a/tests/target/configs/where_pred_indent/block.rs b/tests/target/configs/indent_style/block_where_pred.rs similarity index 100% rename from tests/target/configs/where_pred_indent/block.rs rename to tests/target/configs/indent_style/block_where_pred.rs diff --git a/tests/target/configs/where_style/default.rs b/tests/target/configs/indent_style/default.rs similarity index 100% rename from tests/target/configs/where_style/default.rs rename to tests/target/configs/indent_style/default.rs diff --git a/tests/target/configs/control_style/rfc.rs b/tests/target/configs/indent_style/rfc_control.rs similarity index 100% rename from tests/target/configs/control_style/rfc.rs rename to tests/target/configs/indent_style/rfc_control.rs diff --git a/tests/target/configs/where_style/rfc.rs b/tests/target/configs/indent_style/rfc_where.rs similarity index 100% rename from tests/target/configs/where_style/rfc.rs rename to tests/target/configs/indent_style/rfc_where.rs diff --git a/tests/target/configs/fn_args_indent/visual.rs b/tests/target/configs/indent_style/visual_args.rs similarity index 100% rename from tests/target/configs/fn_args_indent/visual.rs rename to tests/target/configs/indent_style/visual_args.rs diff --git a/tests/target/configs/array_indent/visual.rs b/tests/target/configs/indent_style/visual_array.rs similarity index 100% rename from tests/target/configs/array_indent/visual.rs rename to tests/target/configs/indent_style/visual_array.rs diff --git a/tests/target/configs/fn_call_indent/visual.rs b/tests/target/configs/indent_style/visual_call.rs similarity index 100% rename from tests/target/configs/fn_call_indent/visual.rs rename to tests/target/configs/indent_style/visual_call.rs diff --git a/tests/target/configs/chain_indent/visual.rs b/tests/target/configs/indent_style/visual_chain.rs similarity index 100% rename from tests/target/configs/chain_indent/visual.rs rename to tests/target/configs/indent_style/visual_chain.rs diff --git a/tests/target/configs/generics_indent/visual.rs b/tests/target/configs/indent_style/visual_generics.rs similarity index 100% rename from tests/target/configs/generics_indent/visual.rs rename to tests/target/configs/indent_style/visual_generics.rs diff --git a/tests/target/configs/struct_lit_indent/visual.rs b/tests/target/configs/indent_style/visual_struct_lit.rs similarity index 100% rename from tests/target/configs/struct_lit_indent/visual.rs rename to tests/target/configs/indent_style/visual_struct_lit.rs diff --git a/tests/target/configs/fn_call_indent/visual_trailing_comma.rs b/tests/target/configs/indent_style/visual_trailing_comma.rs similarity index 100% rename from tests/target/configs/fn_call_indent/visual_trailing_comma.rs rename to tests/target/configs/indent_style/visual_trailing_comma.rs diff --git a/tests/target/configs/where_pred_indent/visual.rs b/tests/target/configs/indent_style/visual_where_pred.rs similarity index 100% rename from tests/target/configs/where_pred_indent/visual.rs rename to tests/target/configs/indent_style/visual_where_pred.rs From 8b4e9df915dc7162a76ba02b2ee39e18d7ba857f Mon Sep 17 00:00:00 2001 From: David Alber Date: Thu, 28 Dec 2017 10:20:48 -0800 Subject: [PATCH 6/6] Updating error message --- tests/system.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/system.rs b/tests/system.rs index c5ae416cdc5a..ebb46f002a26 100644 --- a/tests/system.rs +++ b/tests/system.rs @@ -86,7 +86,7 @@ fn verify_config_test_names() { Path::new("tests/target/configs"), ] { for entry in fs::read_dir(path).expect("Couldn't read configs directory") { - let entry = entry.expect("Couldn't get DirEntry"); + let entry = entry.expect("Couldn't get directory entry"); let path = entry.path(); if path.is_dir() { let config_name = path.file_name().unwrap().to_str().unwrap();