Skip to content

fix: test for amount of functions inside test_jar.py file #254

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 2 commits into from
Jun 25, 2025

Conversation

iGoodw1n
Copy link

@iGoodw1n iGoodw1n commented Jul 7, 2024

There is a bug in test that checks number of functions in jar problem. Bug occurs when number of functions is more than nine because pattern matches only one digit. Now it will match all digits in passed tests.

@guyewhite
Copy link

@curiouskiwi @yuliiazhukovetsHU Are either of you experts at checks? I've never actually written one -- but would love to learn!

@yuliiazhukovetsHU
Copy link
Contributor

yuliiazhukovetsHU commented Jul 10, 2024 via email

@ivanharvard
Copy link

Thank you for taking the time to submit a pull request, and thanks for pointing out this bug!

At some point, we must have patched this bug internally, because the only difference between the suggested file and the current file is that one uses single quotes and the other uses double quotes. We'll make sure the two files match. Thanks again for the help!

@ivanharvard ivanharvard requested review from rongxin-liu and bxngyn and removed request for patrickthornton June 25, 2025 14:55
@rongxin-liu rongxin-liu merged commit 91c38e6 into cs50:2022/python Jun 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CS50P CS50 Python
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants