Skip to content

Ensure that checkAllProjectsList and fixAllProjectsList tasks use equivalent formatting#112

Merged
joshfriend merged 2 commits into
joshfriend:mainfrom
anthonycr:main
Apr 15, 2026
Merged

Ensure that checkAllProjectsList and fixAllProjectsList tasks use equivalent formatting#112
joshfriend merged 2 commits into
joshfriend:mainfrom
anthonycr:main

Conversation

@anthonycr
Copy link
Copy Markdown
Contributor

Creates a List<String>.asSortedProjectsContent(): String function that is used by both checkAllProjectsList and fixAllProjectsList to produce the content of all-projects.txt. Previously, checkAllProjectsList would just check that the content was sorted or not and fail. Now, it extracts the projects, produces the sorted content using the extension function created, and asserts that the string matches the content of the file.

An additional change is that this requires that the all-projects.txt file end in a newline, which required changing some of the functional tests that did not add newlines to the test file.

@joshfriend joshfriend merged commit 160cc3d into joshfriend:main Apr 15, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants