Skip to content

Add high-scores filename #117

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 22, 2025
Merged

Conversation

PatrickMcSweeny
Copy link
Contributor

This is a follow up to #113. The filename needs to be added for the analyzer to work correctly. I can add a test in another PR to catch this.

@PatrickMcSweeny PatrickMcSweeny requested a review from a team as a code owner June 19, 2025 20:08
@github-actions github-actions bot closed this Jun 19, 2025
@kotp kotp reopened this Jun 19, 2025
Copy link
Member

@kotp kotp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. Looking forward to tests to catch this!

@SleeplessByte
Copy link
Member

It may be worthwhile to autoload (convert casing, then check if exists) instead of this.

Future PR?

@PatrickMcSweeny
Copy link
Contributor Author

PatrickMcSweeny commented Jun 21, 2025

I think a more robust solution would be to refactor the tests to read actual files so the tests more accurately reflect how the code is used in the real world. I have created a local commit for this, and I will open a PR with it once this PR is merged.

@SleeplessByte SleeplessByte merged commit ecfd220 into exercism:main Jun 22, 2025
8 checks passed
@PatrickMcSweeny
Copy link
Contributor Author

Following up on my earlier comment, there are a few exercises in the Ruby track where the default filename is not the same as the exercise name.

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.

3 participants