1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

parser: c2v fixes

This commit is contained in:
Alexander Medvednikov
2020-08-09 03:57:54 +02:00
parent 0692164333
commit c65dbe51d6
5 changed files with 31 additions and 16 deletions

View File

@@ -575,10 +575,11 @@ fn test_capitalize() {
assert s.capitalize() == ''
s = 'TEST IT'
assert !s.is_capital()
assert s.capitalize() == 'Test it'
assert s.capitalize() == 'TEST IT'
s = 'Test it'
assert s.is_capital()
assert s.capitalize() == 'Test it'
assert 'GameMission_t'.capitalize() == 'GameMission_t'
}
fn test_title() {