Commit 37ab227
Automated Resyntax fixes
This is an automated change generated by Resyntax.
#### Pass 1
Applied 2 fixes to [`scribble-test/tests/scribble/eval.rkt`](../blob/HEAD/scribble-test/tests/scribble/eval.rkt)
* Line 2, `tidy-require`: Keep imports in `require` sorted and grouped by phase, with collections before files.
* Line 26, `single-clause-match-to-match-define`: This `match` expression can be simplified using `match-define`.
Applied 2 fixes to [`scribble-test/tests/scribble/html.rkt`](../blob/HEAD/scribble-test/tests/scribble/html.rkt)
* Line 8, `tidy-require`: Keep imports in `require` sorted and grouped by phase, with collections before files.
* Line 13, `let-to-define`: Internal definitions are recommended instead of `let` expressions, to reduce nesting.
Applied 1 fix to [`scribble-test/tests/scribble/decode.rkt`](../blob/HEAD/scribble-test/tests/scribble/decode.rkt)
* Line 2, `tidy-require`: Keep imports in `require` sorted and grouped by phase, with collections before files.
Applied 1 fix to [`scribble-test/tests/scribble/exe.rkt`](../blob/HEAD/scribble-test/tests/scribble/exe.rkt)
* Line 2, `tidy-require`: Keep imports in `require` sorted and grouped by phase, with collections before files.
Applied 3 fixes to [`scribble-test/tests/scribble/reader.rkt`](../blob/HEAD/scribble-test/tests/scribble/reader.rkt)
* Line 3, `tidy-require`: Keep imports in `require` sorted and grouped by phase, with collections before files.
* Line 828, `let-to-define`: Internal definitions are recommended instead of `let` expressions, to reduce nesting.
* Line 943, `let-to-define`: Internal definitions are recommended instead of `let` expressions, to reduce nesting.
Applied 1 fix to [`scribble-test/tests/scribble/render.rkt`](../blob/HEAD/scribble-test/tests/scribble/render.rkt)
* Line 2, `tidy-require`: Keep imports in `require` sorted and grouped by phase, with collections before files.
Applied 3 fixes to [`scribble-test/tests/scribble/docs.rkt`](../blob/HEAD/scribble-test/tests/scribble/docs.rkt)
* Line 5, `tidy-require`: Keep imports in `require` sorted and grouped by phase, with collections before files.
* Line 20, `let-to-define`: Internal definitions are recommended instead of `let` expressions, to reduce nesting.
* Line 68, `when-expression-in-for-loop-to-when-keyword`: Use the `#:when` keyword instead of `when` to reduce loop body indentation.
Applied 2 fixes to [`scribble-test/tests/scribble/text-lang.rkt`](../blob/HEAD/scribble-test/tests/scribble/text-lang.rkt)
* Line 3, `tidy-require`: Keep imports in `require` sorted and grouped by phase, with collections before files.
* Line 61, `when-expression-in-for-loop-to-when-keyword`: Use the `#:when` keyword instead of `when` to reduce loop body indentation.
Applied 1 fix to [`scribble-test/tests/scribble/text-collect.rkt`](../blob/HEAD/scribble-test/tests/scribble/text-collect.rkt)
* Line 3, `tidy-require`: Keep imports in `require` sorted and grouped by phase, with collections before files.
Applied 1 fix to [`scribble-test/tests/scribble/xref.rkt`](../blob/HEAD/scribble-test/tests/scribble/xref.rkt)
* Line 2, `tidy-require`: Keep imports in `require` sorted and grouped by phase, with collections before files.
## Summary
Fixed 17 issues in 10 files.
* Fixed 10 occurrences of `tidy-require`
* Fixed 4 occurrences of `let-to-define`
* Fixed 2 occurrences of `when-expression-in-for-loop-to-when-keyword`
* Fixed 1 occurrence of `single-clause-match-to-match-define`1 parent 78b05e6 commit 37ab227
File tree
10 files changed
+70
-59
lines changed- scribble-test/tests/scribble
10 files changed
+70
-59
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
4 | 3 | | |
5 | | - | |
| 4 | + | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
6 | 10 | | |
7 | 11 | | |
8 | 12 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
73 | 72 | | |
74 | 73 | | |
75 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
3 | 6 | | |
4 | 7 | | |
5 | 8 | | |
| |||
24 | 27 | | |
25 | 28 | | |
26 | 29 | | |
27 | | - | |
| 30 | + | |
| 31 | + | |
28 | 32 | | |
29 | 33 | | |
30 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
| |||
825 | 827 | | |
826 | 828 | | |
827 | 829 | | |
828 | | - | |
829 | | - | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
830 | 834 | | |
831 | 835 | | |
832 | 836 | | |
| |||
940 | 944 | | |
941 | 945 | | |
942 | 946 | | |
943 | | - | |
944 | | - | |
945 | | - | |
946 | | - | |
947 | | - | |
| 947 | + | |
| 948 | + | |
| 949 | + | |
| 950 | + | |
948 | 951 | | |
949 | | - | |
950 | | - | |
951 | | - | |
952 | | - | |
953 | | - | |
954 | | - | |
955 | | - | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
956 | 958 | | |
957 | 959 | | |
958 | 960 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
4 | 3 | | |
5 | | - | |
| 4 | + | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
4 | 7 | | |
5 | 8 | | |
6 | 9 | | |
| |||
58 | 61 | | |
59 | 62 | | |
60 | 63 | | |
61 | | - | |
62 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
63 | 67 | | |
64 | 68 | | |
65 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments