Skip to content

Sync simple linked lists - #295

Merged
kahgoh merged 1 commit into
exercism:mainfrom
kahgoh:sync/simple-linked-list
Jul 13, 2026
Merged

Sync simple linked lists#295
kahgoh merged 1 commit into
exercism:mainfrom
kahgoh:sync/simple-linked-list

Conversation

@kahgoh

@kahgoh kahgoh commented May 8, 2026

Copy link
Copy Markdown
Member

This updates the exercise to sync the canonical test data. Note, this change also attempts to maintain support for solutions written before the canonical data was added. The test differs from the canonical data in the following ways:

  • len property is used in place of a dedicated count() function
  • to_array is used in place of to_list
  • to_array is used for validation in the reverse tests

@github-actions

github-actions Bot commented May 8, 2026

Copy link
Copy Markdown
Contributor

This PR touches files which potentially affect the outcome of the tests of an exercise. This will cause all students' solutions to affected exercises to be re-tested.

If this PR does not affect the result of the test (or, for example, adds an edge case that is not worth rerunning all tests for), please add the following to the merge-commit message which will stops student's tests from re-running. Please copy-paste to avoid typos.

[no important files changed]

For more information, refer to the documentation. If you are unsure whether to add the message or not, please ping @exercism/maintainers-admin in a comment. Thank you!

@keiravillekode

Copy link
Copy Markdown
Contributor

Perhaps rebase so tests run again.

@kahgoh
kahgoh force-pushed the sync/simple-linked-list branch from da0ee57 to 185b23e Compare July 11, 2026 12:04
This updates the exercise to sync the canonical test data.
Note, this change also attempts to maintain support for solutions
written before the canonical data was added. The test differs from
the canonical data in the following ways:
- len property is used in place of a dedicated count() function
- to_array is used in place of to_list
- to_array is used for validation in the reverse tests
@kahgoh
kahgoh merged commit f422357 into exercism:main Jul 13, 2026
4 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