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

Make prefix detection case insensitive #210

Conversation

AbdulrahmanAlRammah
Copy link
Collaborator

@AbdulrahmanAlRammah AbdulrahmanAlRammah commented Nov 6, 2024

Closes #209

Made prefixes case insensitive and fixed one test case which was failing because the prefix was meant to be capitalized.

I believe we don't have any exclusively capital prefixes that would be affected by this PR. I also can't think of any other issues that could arise from this change. Please think about whether there could be any other issues as we want to avoid unintended bugs.

Copy link

codecov bot commented Nov 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Files with missing lines Coverage Δ Complexity Δ
.../seedu/address/logic/parser/ArgumentTokenizer.java 97.36% <100.00%> (ø) 9.00 <2.00> (ø)

Copy link

@liauzhanyi liauzhanyi left a comment

Choose a reason for hiding this comment

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

lgtm!

@liauzhanyi liauzhanyi merged commit 7d33d4f into AY2425S1-CS2103-F10-2:master Nov 7, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Accepting upper case prefixes ex. n/
2 participants