Skip to content

Commit 8c04cb5

Browse files
committed
Added tests for capitalize method to string
1 parent fad493c commit 8c04cb5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/snippets/strings.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,6 @@
3636
assert b.strip() == 'hallo'
3737
assert b.lstrip() == 'hallo '
3838
assert b.rstrip() == ' hallo'
39+
40+
c = 'hallo'
41+
assert b.capitalize() == 'Hallo'

0 commit comments

Comments
 (0)