dfmt/tests
Daniel Zuncke 20b8badf8c Fix issue #586 2023-10-26 20:10:50 +00:00
..
allman Fix issue #586 2023-10-26 20:10:50 +00:00
expected_failures Fix #568, don't output empty files without error 2022-10-15 02:33:04 +02:00
knr Fix issue #586 2023-10-26 20:10:50 +00:00
otbs Fix issue #586 2023-10-26 20:10:50 +00:00
.editorconfig Make tests ignore any .editorconfig files outside the test directory 2015-04-19 21:56:31 -07:00
2d_arrays.d Fix 2D (assoc) arrays & add tests 2019-01-11 22:06:57 +01:00
DeclSpacing.d Remove failing tests 2015-01-17 16:45:37 +01:00
argument_chain_indent.args Revert chain indentation in an argument list 2023-01-15 20:51:03 +01:00
argument_chain_indent.d Revert operator indentation in an argument list 2023-02-06 10:17:09 +01:00
argument_chain_keep_breaks.args Revert chain indentation in an argument list 2023-01-15 20:51:03 +01:00
argument_chain_keep_breaks.d Revert operator indentation in an argument list 2023-02-06 10:17:09 +01:00
array_access.d fix array item access regression 2019-01-12 12:25:46 +01:00
assoc_key_indent.args Don't indent associative array keys as labels 2021-03-09 11:38:33 +01:00
assoc_key_indent.d Don't indent associative array keys as labels 2021-03-09 11:38:33 +01:00
associative_array.d Improve AA formatting 2019-01-11 00:50:50 +01:00
associative_array_complex.d Fix 2D (assoc) arrays & add tests 2019-01-11 22:06:57 +01:00
attribute_constraint.d Fix parse error 2016-03-27 22:47:30 -07:00
breakOnDots.d Better line breaking for UFCS chains 2016-01-13 04:52:32 -08:00
catchExceptionNested.d foo()@safe needs a space 2015-01-17 00:29:28 +01:00
comments.d tuning whitespace around comments 2015-01-15 09:30:55 +01:00
constraint_singe_tab.args fix #236 - Allow constraints to be indented by a single tab (#337) 2018-03-02 16:26:54 +01:00
constraint_singe_tab.d fix #236 - Allow constraints to be indented by a single tab (#337) 2018-03-02 16:26:54 +01:00
constraint_singe_tab2.args fix #236 - Allow constraints to be indented by a single tab (#337) 2018-03-02 16:26:54 +01:00
constraint_singe_tab2.d fix #236 - Allow constraints to be indented by a single tab (#337) 2018-03-02 16:26:54 +01:00
contracts.d More formatting fixes 2015-02-17 15:31:22 -08:00
debug-inside-if.d Properly recognize debug as block header 2018-10-11 05:43:18 +02:00
debug_with_param.d Fix else indentation after debug conditions 2018-10-09 13:19:07 +02:00
dip1009.d Support for DIP1009 (new contracts syntax), #375 (#376) 2018-09-10 14:15:14 +02:00
do_body.d Handle do as contract header and handle body as identifier (#360) 2018-06-14 23:29:47 +02:00
empty.d Add empty test files 2018-03-08 11:57:07 +01:00
enum_attribs.d Properly format enum member attributes and parameter attributes 2018-09-29 22:52:49 +02:00
foreach_array.args Fix array literal indentation in foreach (#554) 2022-06-14 12:35:54 +00:00
foreach_array.d Fix array literal indentation in foreach (#554) 2022-06-14 12:35:54 +00:00
frontpage.d add simple test suite 2015-01-13 22:16:27 +01:00
func_param_attrib.d Properly format enum member attributes and parameter attributes 2018-09-29 22:52:49 +02:00
gen_expected.sh better gen_expected script 2019-11-25 17:10:20 +01:00
guessnumber.d more (failing) tests 2015-01-15 09:30:55 +01:00
hello.d add simple test suite 2015-01-13 22:16:27 +01:00
higherorder.d more (failing) tests 2015-01-15 09:30:55 +01:00
incomplete_alias.d add some missing hasCurrent checks 2023-03-01 22:07:37 +01:00
issue0017.d #17 2015-03-04 14:34:56 -08:00
issue0018.d Fix #18 2015-03-04 13:42:08 -08:00
issue0021.d Fix #21 2015-03-04 13:32:36 -08:00
issue0022.d Fix #22 2015-03-04 13:26:40 -08:00
issue0023.d Fix #27 2015-03-15 18:13:28 -07:00
issue0024.d Fix #24 2015-03-04 17:16:39 -08:00
issue0025.d Fix #25. 2015-03-04 17:31:36 -08:00
issue0026.d Fix #26. Fix #19. 2015-03-04 17:07:40 -08:00
issue0027.d Fix #27 2015-03-15 18:13:28 -07:00
issue0028.d Fix #28 2015-03-05 17:49:48 -08:00
issue0029.d Fix #29 2015-03-04 17:49:02 -08:00
issue0030.d Fix #30. 2015-03-05 17:18:05 -08:00
issue0031.args Fix #31 2015-04-20 00:07:33 -07:00
issue0031.d Fix #31 2015-04-20 00:07:33 -07:00
issue0032.d Fix #32 2015-03-05 17:09:50 -08:00
issue0033.d Add tests for #33 2015-03-05 17:09:20 -08:00
issue0034.d Fix #34 for realz 2015-03-05 19:51:44 -08:00
issue0035.args Fix #35 2015-04-20 00:56:24 -07:00
issue0035.d Fix #35 2015-04-20 00:56:24 -07:00
issue0037.d fix #37 2015-03-05 19:33:19 -08:00
issue0038.d Fix #38. 2015-03-05 19:08:38 -08:00
issue0039.d Fix #40. Fix #39 2015-03-05 19:01:52 -08:00
issue0041.d Fix #41 2015-03-05 19:40:55 -08:00
issue0042.d Fix #42 2015-03-13 02:59:21 -07:00
issue0043.d Massive switch statement rework. Fixes #80 2015-03-10 03:03:08 -07:00
issue0044.d Fix #44 2015-03-07 23:45:50 -08:00
issue0045.d Fix #45 2015-03-07 14:50:46 -08:00
issue0046.d Fix #46 2015-03-07 15:41:33 -08:00
issue0047.d Fix forced newlines on paren tokens, fix paren depth weighting for line wrapping. #47 2015-03-16 12:18:26 -07:00
issue0048.d Fix #48 2015-03-14 18:39:48 -07:00
issue0049.d Fix #49 2015-03-07 14:47:02 -08:00
issue0050.d Fix #50 2015-03-07 22:42:51 -08:00
issue0051.d Fix #51 2015-03-07 23:37:30 -08:00
issue0052.d Fix #52 2015-03-07 14:37:30 -08:00
issue0053.d Fix #53 2015-03-07 19:28:12 -08:00
issue0054.d Rework indentation system. Fix #91. Fix #86. Fix #54. 2015-03-11 05:13:13 -07:00
issue0056.d Rework indentation system. Fix #91. Fix #86. Fix #54. 2015-03-11 05:13:13 -07:00
issue0057.d Fix #57 2015-03-07 14:00:36 -08:00
issue0058.d Fix #58 2015-03-07 23:15:37 -08:00
issue0059.d Fix #59 2015-03-07 23:00:14 -08:00
issue0060.d Fix #60 2015-03-07 22:54:04 -08:00
issue0061.d Fix #61 2015-03-07 22:57:09 -08:00
issue0062.d Fix #62 2015-03-08 00:29:36 -08:00
issue0063.d Fix #63 2015-03-14 18:18:39 -07:00
issue0064.d Fix #64 2015-03-08 19:02:15 -07:00
issue0065.d Fix #65 2015-03-08 17:28:03 -07:00
issue0066.d Fix #66 2015-03-08 18:37:05 -07:00
issue0067.d Fix #67 2015-03-08 18:38:52 -07:00
issue0068.d Fix #68 2015-03-08 18:30:46 -07:00
issue0069.d Fix #69 2015-03-08 18:33:59 -07:00
issue0070.d Fix #70 2015-03-08 18:23:01 -07:00
issue0073.d Fix #73 2015-03-08 18:07:26 -07:00
issue0074.d Fix #74 2015-03-08 18:01:04 -07:00
issue0076.args Fix #76 2015-06-04 19:20:58 -07:00
issue0076.d Fix #76 2015-06-04 19:20:58 -07:00
issue0079.d Fix #79 2015-03-10 03:08:06 -07:00
issue0080.d Massive switch statement rework. Fixes #80 2015-03-10 03:03:08 -07:00
issue0081.d Fix #81 2015-03-10 00:45:30 -07:00
issue0082.d Fix #82 2015-03-09 23:32:25 -07:00
issue0083.d Fix #83 2015-03-09 22:08:12 -07:00
issue0085.d Fix #85 2015-03-09 23:26:46 -07:00
issue0086.d Rework indentation system. Fix #91. Fix #86. Fix #54. 2015-03-11 05:13:13 -07:00
issue0088.d Fix #88 2015-03-10 14:38:39 -07:00
issue0089.d Fix #89 2015-03-10 14:33:27 -07:00
issue0090.d Fix #90 2015-03-10 14:26:22 -07:00
issue0091.d Rework indentation system. Fix #91. Fix #86. Fix #54. 2015-03-11 05:13:13 -07:00
issue0092.d Update test case for #92 2015-03-12 12:32:27 -07:00
issue0093.d Fix #93 2015-03-12 12:46:21 -07:00
issue0094.d Fix #94 2015-03-12 12:24:47 -07:00
issue0095.d Fix #95 2015-03-13 02:01:18 -07:00
issue0096.d Fix #96 2015-03-13 02:33:38 -07:00
issue0097.args Implement #97 2015-06-08 02:25:49 -07:00
issue0097.d Implement #97 2015-06-08 02:25:49 -07:00
issue0098.d Fix #98 2015-03-13 14:51:44 -07:00
issue0099.d Fix #99 2015-03-14 03:27:25 -07:00
issue0100.d Fix #100 2015-03-14 03:58:23 -07:00
issue0101.d Add tests for --braceStyle=otbs. Fix #101 2015-03-14 15:51:50 -07:00
issue0102.args Tests for #102 2015-06-04 19:23:02 -07:00
issue0102.d Tests for #102 2015-06-04 19:23:02 -07:00
issue0106.d Fix #106 2015-03-15 04:30:55 -07:00
issue0107.d Fix #107 2015-03-16 15:45:22 -07:00
issue0108.d Fix #108 2015-03-16 15:59:35 -07:00
issue0109.d Fix #109 2015-03-16 16:28:47 -07:00
issue0111.d Fix #111 2015-03-17 16:53:49 -07:00
issue0112.d Improve line wrapping heuristics 2016-01-25 05:24:09 -08:00
issue0112_variation.d Add test for issue0112 without array item 2019-01-12 12:37:06 +01:00
issue0114.d Fix #114 2015-03-31 15:08:44 -07:00
issue0116.d Fix #116 2015-03-18 16:26:27 -07:00
issue0117.d Fix #117 2015-03-18 16:22:04 -07:00
issue0118.d Fix #118 2015-03-18 16:31:56 -07:00
issue0119.d Fix #119 2015-03-18 18:20:05 -07:00
issue0120.d Fix #120 2015-03-18 16:15:51 -07:00
issue0123.d Fix #123 2015-03-24 14:48:04 -07:00
issue0125.d Bring back the 'dfmt off'/'dfmt on' feature that was missing from this branch for some stupid reason 2015-06-04 18:15:12 -07:00
issue0126.d Fix #126 2015-04-08 18:16:50 -07:00
issue0127.d Fix #127 2015-04-20 00:30:13 -07:00
issue0128.args Improve AA formatting 2019-01-11 00:50:50 +01:00
issue0128.d Fix #128 2015-04-16 12:14:39 -07:00
issue0130.args Implement #130 2015-06-08 03:05:11 -07:00
issue0130.d Implement #130 2015-06-08 03:05:11 -07:00
issue0134.d trivially fix #134 2019-11-25 17:09:51 +01:00
issue0136.d Fix #136 2015-04-23 16:53:31 -07:00
issue0138.d Fix #138 2015-04-24 13:15:53 -07:00
issue0139.d Fix #139 2015-04-24 17:28:06 -07:00
issue0140.d Fix #140 2015-04-27 15:34:35 -07:00
issue0142.d Fix #142 2015-04-27 15:46:19 -07:00
issue0146.d Fix #146 2015-04-28 22:39:47 -07:00
issue0147.d Fix #147 2015-04-28 22:26:49 -07:00
issue0148.d Fix #148 2015-04-29 11:39:37 -07:00
issue0150.d Fix #150 2015-05-07 23:56:50 -07:00
issue0151.d Fix #151 2015-05-07 23:51:15 -07:00
issue0152.d Fix #152 2015-05-12 16:40:33 -07:00
issue0153.d Fix #153 2015-05-13 14:39:34 -07:00
issue0154.d Fix #154 2015-05-13 14:21:35 -07:00
issue0155.d Fix #155 2015-05-13 14:43:42 -07:00
issue0156.d Fix #156 2015-05-20 02:48:48 -07:00
issue0158.d Update dparse 2016-04-28 15:27:57 -07:00
issue0162.d Fix #162 2015-08-10 16:19:43 -07:00
issue0166.d Fix #166 2015-08-10 16:37:09 -07:00
issue0169.d Fix #169 2015-08-10 16:04:56 -07:00
issue0172.d #172 2015-08-24 12:44:52 -07:00
issue0174.d enum can also be used in is() expressions 2015-08-21 19:13:08 +02:00
issue0177.d Fix #177 2015-08-24 13:28:16 -07:00
issue0185.d Fix #185 2015-09-16 17:07:39 -07:00
issue0186.d Fix #186 2015-09-17 02:52:35 -07:00
issue0187.d Fix #187 2015-09-16 17:20:16 -07:00
issue0189.d Fix #189 2015-09-17 22:58:39 -07:00
issue0190.d Fix #190 2015-10-09 14:21:30 -07:00
issue0194.d Fix #194 2015-12-14 15:24:48 -08:00
issue0195.d trivially fix #195 2019-11-25 17:09:51 +01:00
issue0204.d Fix #204 2016-01-13 20:52:26 -08:00
issue0205.d Tests for #205 2016-01-14 14:28:15 -08:00
issue0206.d Fix #206 2016-01-14 14:40:16 -08:00
issue0207.d Fix #207 2016-01-14 16:02:24 -08:00
issue0208.d Fix #208 2016-01-15 16:29:00 -08:00
issue0209.d Fix #209 2016-01-15 18:01:48 -08:00
issue0210.d Fix #210 and run dfmt on itself 2016-01-18 15:10:39 -08:00
issue0212.d Fix #212 2016-01-18 14:18:09 -08:00
issue0213.d Fix #213 2016-01-18 15:32:49 -08:00
issue0215a.args Initial work on #215 2016-01-18 17:59:26 -08:00
issue0215a.d Initial work on #215 2016-01-18 17:59:26 -08:00
issue0215b.args Initial work on #215 2016-01-18 17:59:26 -08:00
issue0215b.d Initial work on #215 2016-01-18 17:59:26 -08:00
issue0215c.args Initial work on #215 2016-01-18 17:59:26 -08:00
issue0215c.d Initial work on #215 2016-01-18 17:59:26 -08:00
issue0215d.args Initial work on #215 2016-01-18 17:59:26 -08:00
issue0215d.d Initial work on #215 2016-01-18 17:59:26 -08:00
issue0216.d Fix #216 2016-01-18 14:06:47 -08:00
issue0219.d Fix #219 2016-01-22 04:53:20 -08:00
issue0220.d Fix #220 2016-01-22 04:48:29 -08:00
issue0221.d Fix #221 2016-01-20 17:00:46 -08:00
issue0222.d Fix #222 2016-01-21 22:11:32 -08:00
issue0223.d Fix #223 2016-01-22 01:51:44 -08:00
issue0224.d Fix #224 2016-01-22 18:48:36 -08:00
issue0225.d Fix #225 2016-01-22 19:06:09 -08:00
issue0226.d Fix #226 2016-01-26 12:56:19 -08:00
issue0228.args obey `end_of_line` setting in all tokens (#550) 2022-05-25 13:21:07 +02:00
issue0228.d obey `end_of_line` setting in all tokens (#550) 2022-05-25 13:21:07 +02:00
issue0229.d Fix #229 2016-02-25 14:02:12 -08:00
issue0237.d Add tests 2018-03-07 21:18:25 +01:00
issue0241.d Fix #241 2016-04-28 15:23:00 -07:00
issue0244.d fix #244 - Wrong indentation for bool enums 2018-10-03 12:07:54 +02:00
issue0246.d Fix #246 - Questionable indentation for multiple `with` statements 2018-10-07 12:36:17 +02:00
issue0248.d Fix #248 2017-10-25 13:26:35 -07:00
issue0251.d Fix #251 2016-06-30 17:41:13 -07:00
issue0256.d Add: Test for nested struct formatting 2019-08-03 08:55:32 +09:00
issue0267.d Fix #267 - Indentation with debug inconsistent 2018-10-11 05:43:18 +02:00
issue0273.d Fix #273 2017-03-07 16:12:27 -08:00
issue0286.d Fix #286 - Weird indentation in else branch after wrapping expression (#393) 2018-10-07 19:56:08 +02:00
issue0287.d Fix #287 - Extra space after import in delegate 2018-10-15 10:14:23 +02:00
issue0303.d Fix test 2017-11-27 07:37:09 +09:00
issue0313.d Fix #313, and implement a better fix for #314 2018-02-02 04:48:57 -08:00
issue0314.d Fix #314 2018-01-29 14:18:59 -08:00
issue0321.d Fix #321 2018-02-02 00:52:30 -08:00
issue0326.d Fix #326 - Spaces missing after attributes in function literals (#394) 2018-10-07 20:47:28 +02:00
issue0345.args Fix #345 - Case of trailing white space 2018-10-10 13:37:06 +02:00
issue0345.d Fix #345 - Case of trailing white space 2018-10-10 13:37:06 +02:00
issue0349.d Allow comments in selective imports. (#403) 2018-10-19 01:45:52 +02:00
issue0361.d Fix #361 - Unexpected empty new line if function header ends with a comment 2019-05-14 09:00:56 +09:00
issue0372.d Fix #372 - Improper indentation after single-line catch (#395) 2018-10-08 13:32:15 +02:00
issue0384.d Allow comments in selective imports. (#403) 2018-10-19 01:45:52 +02:00
issue0426.d Fix #426 2019-05-13 17:49:12 +09:00
issue0430.d fix #430 already working 2019-11-25 17:09:51 +01:00
issue0432.d Update test to include both known cases 2023-10-18 10:22:48 +02:00
issue0433.d Fix #433 2019-05-13 12:13:32 +09:00
issue0436.d Fix #436 2019-02-20 11:25:31 -08:00
issue0448.d Put a space in contract expressions 2020-01-05 20:28:56 +01:00
issue0451.d Fix comment before contract 2021-09-07 14:29:45 +02:00
issue0452.d Put space between a comment and an identifier 2020-01-05 23:11:18 +01:00
issue0454.d Wrap the argument list of a template function 2020-01-12 22:49:16 +01:00
issue0465.d Print colon in AA before identifiers 2020-08-27 09:43:25 +02:00
issue0476.d Break line on multiline strings 2020-08-10 15:25:59 +02:00
issue0483.args Fix issue 483: indent continuing case statements on the same level 2020-07-22 10:27:52 +02:00
issue0483.d Fix issue 483: indent continuing case statements on the same level 2020-07-22 10:27:52 +02:00
issue0485.args Print colon in AA before identifiers 2020-08-27 09:43:25 +02:00
issue0485.d Print colon in AA before identifiers 2020-08-27 09:43:25 +02:00
issue0486.args Regenerate line break hints after newline 2020-09-04 00:14:25 +02:00
issue0486.d Regenerate line break hints after newline 2020-09-04 00:14:25 +02:00
issue0494.d Very long chained calls in array literals are indented weirdly 2022-07-28 17:14:01 +02:00
issue0494_else.args Fix else indentation after array literal 2023-01-14 02:18:28 +01:00
issue0494_else.d Fix else indentation after array literal 2023-01-14 02:18:28 +01:00
issue0494_keep_line_break.args Very long chained calls in array literals are indented weirdly 2022-07-28 17:14:01 +02:00
issue0494_keep_line_break.d Very long chained calls in array literals are indented weirdly 2022-07-28 17:14:01 +02:00
issue0497.d Fix issue 497: insert space before function/delegate in function type that returns template instantiated with parenless value argument 2020-07-20 08:04:51 +02:00
issue0501.d Print colon in AA before identifiers 2020-08-27 09:43:25 +02:00
issue0503.args Add reflow_property_chains option 2023-03-29 11:29:59 +02:00
issue0503.d Add reflow_property_chains option 2023-03-29 11:29:59 +02:00
issue0504.args Keep line break after function attributes 2020-09-02 09:09:19 +02:00
issue0504.d Keep line break after function attributes 2020-09-02 09:09:19 +02:00
issue0508.d Fix Issue 508 (#511) 2020-10-01 08:35:20 +02:00
issue0509.args Don't output an extra newline after a comment 2020-10-10 07:25:27 +02:00
issue0509.d Don't output an extra newline after a comment 2020-10-10 07:25:27 +02:00
issue0515.d Fix #515 2020-10-07 02:19:55 -07:00
issue0521.d Don't write a space after the return attribute 2021-02-27 16:06:06 +01:00
issue0528.d Format do like body after function attributes 2021-06-14 21:06:32 +00:00
issue0552_cr.d Retain line ending by default. (#553) 2022-07-28 17:21:10 +02:00
issue0552_crlf.d Retain line ending by default. (#553) 2022-07-28 17:21:10 +02:00
issue0552_lf.d Retain line ending by default. (#553) 2022-07-28 17:21:10 +02:00
issue0578.d Fix #578 ternary expressions in AA literals not properly formatted (#591) 2023-10-22 17:52:14 +09:00
issue0586.d Fix issue #586 2023-10-26 20:10:50 +00:00
keep_break_in_array_arg.args Fix array indentation as argument 2022-05-23 14:09:26 +02:00
keep_break_in_array_arg.d Keep "(" indentation with a "]" in the same line 2023-03-20 18:23:33 +01:00
keep_break_in_array_chain.args Fix array indentation as argument 2022-05-23 14:09:26 +02:00
keep_break_in_array_chain.d Format multiline arrays first (#538) 2021-06-16 17:23:27 +03:00
keep_line_breaks.args Support disabling automatic line breaks 2020-03-07 21:14:10 +01:00
keep_line_breaks.d keep_line_breaks: Compare with the token end line 2020-03-24 14:39:31 +01:00
keep_single_indent.args Add single_indent option 2021-05-18 06:36:57 +02:00
keep_single_indent.d Add single_indent option 2021-05-18 06:36:57 +02:00
lambda_param_attrib.d Properly format enum member attributes and parameter attributes 2018-09-29 22:52:49 +02:00
longParamList.d Rework indentation system. Fix #91. Fix #86. Fix #54. 2015-03-11 05:13:13 -07:00
minimizeLength.d Improve line wrapping heuristics 2016-01-25 05:24:09 -08:00
multiline_string.d Fix bug with multi-line string literals 2016-02-01 00:35:26 -08:00
parenIndent.d Run dfmt on itself and debug some wrapping calculations 2016-01-19 05:20:31 -08:00
propertySpacing.d Fix #11 2015-01-25 10:57:31 -08:00
single_indent.args Add single_indent option 2021-05-18 06:36:57 +02:00
single_indent.d Add single_indent option 2021-05-18 06:36:57 +02:00
space_after_keywords.args No space after keywords 2023-07-26 16:13:48 +02:00
space_after_keywords.d No space after keywords 2023-07-26 16:13:48 +02:00
swap.d Import with comment behind must not output newlines 2015-01-17 00:19:51 +01:00
test.d Fix #568, don't output empty files without error 2022-10-15 02:33:04 +02:00
ufcschain.d Better formatting for UFCS chains 2018-05-09 16:06:12 +02:00
wrapping1.d Line wrapping improvements 2015-02-22 00:45:34 -08:00