Skip to content
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

Test does not work when break is added to the switch statement. #14

Open
Jpayne07 opened this issue Apr 3, 2024 · 0 comments
Open

Test does not work when break is added to the switch statement. #14

Jpayne07 opened this issue Apr 3, 2024 · 0 comments
Labels
se curriculum Issue for lessons in the Software Engineering program

Comments

@Jpayne07
Copy link

Jpayne07 commented Apr 3, 2024

Canvas Link

https://learning.flatironschool.com/courses/7741/assignments/278298?module_item_id=675984

Concern

To my knowledge, the break is a best-practice use for switch statements to ensure no unintended cases match. This test does not work for the switch if you include a break after each case, but it should still have the same outcome.

I may have a gap in my knowledge here, but I couldn't find anything in the coursework addressing this. If so, please let me know so I do not go on mistaken.

Additional Context

No response

Suggested Changes

No response

@Jpayne07 Jpayne07 added the se curriculum Issue for lessons in the Software Engineering program label Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
se curriculum Issue for lessons in the Software Engineering program
Projects
None yet
Development

No branches or pull requests

1 participant