Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions strings/upper.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ def upper(word: str) -> str:
'WHAT'
>>> upper("wh[]32")
'WH[]32'
>>> upper("WH[]3_aA2")
'WH[]3_AA2'
>>> upper("bomdia&compania")
'BOMDIA&COMPANIA'
Comment on lines +13 to +16
Copy link
Contributor

Choose a reason for hiding this comment

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

I feel that these cases don't add much additional value because they don't really test any cases that the previous tests don't already cover. Instead, could we have a test for the empty string and a test for a string with no letters?

"""

# Converting to ascii value int value and checking to see if char is a lower letter
Expand Down