Skip to content

Commit c85eb1a

Browse files
committed
improved test case for to_title
1 parent 35ca17e commit c85eb1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tests/string/test_string_functions.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ end subroutine test_to_upper_string
2727

2828
subroutine test_to_title_string
2929
type(string_type) :: test_string, compare_string
30-
test_string = "tO t!TL3 7h1S p#ra$e"
31-
compare_string = "To T!Tl3 7h1s P#Ra$E"
30+
test_string = "tO_%t!TL3 7h1S p#ra$e"
31+
compare_string = "To_%T!Tl3 7h1s P#Ra$E"
3232

3333
call check(to_title(test_string) == compare_string)
3434

0 commit comments

Comments
 (0)