Skip to content

Sync bob tests - #468

Merged
BNAndras merged 1 commit into
exercism:mainfrom
BNAndras:update-bob-tests
Aug 3, 2026
Merged

Sync bob tests#468
BNAndras merged 1 commit into
exercism:mainfrom
BNAndras:update-bob-tests

Conversation

@BNAndras

@BNAndras BNAndras commented Aug 3, 2026

Copy link
Copy Markdown
Member

Fixes #466. We reimplemented the existing multiline test but also resorted the tests.

@BNAndras BNAndras added the x:rep/tiny Tiny amount of reputation label Aug 3, 2026
@github-actions

github-actions Bot commented Aug 3, 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!

@BNAndras
BNAndras requested a review from a team August 3, 2026 02:45
(test-equal? "shouting numbers"
(response-for "1, 2, 3 GO!")
(test-equal? "ending with whitespace"
(response-for "Okay if like my spacebar quite a bit? ")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Shouldn't this be "Okay if I like my spacebar quite a bit? "

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

What's the difference between the two? You can use the "Suggest a change" to suggest updates.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

https://github.com/exercism/problem-specifications/blob/8fb316e0dfd9ff8a563aac74583aec6ece9e5cb1/exercises/bob/canonical-data.json#L99 shows "Okay if like my spacebar quite a bit? ". The lack of a subject is strange, but the test is checking for the trailing whitespace so I guess it's okay.

@blakelewis blakelewis Aug 3, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The difference is that one is a correct English sentence with a subject, similar to the other tests, while the other is ungrammatical and looks weird. Was this intentional?

@BNAndras BNAndras Aug 3, 2026

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

It looks like it was one of the original canonical test cases added back in 2015, and nobody fixed it in the intervening years.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

OK then, the dead hand of history prevails.

@BNAndras
BNAndras merged commit d26edcb into exercism:main Aug 3, 2026
6 checks passed
@BNAndras
BNAndras deleted the update-bob-tests branch August 3, 2026 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

x:rep/tiny Tiny amount of reputation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🚨 configlet sync --test found unsynced tests

3 participants