Skip to content

Commit 2f5991f

Browse files
committed
changed test cases as per the last commit
1 parent 745f62e commit 2f5991f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/tests/ascii/test_ascii.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -597,8 +597,8 @@ subroutine test_to_title_string
597597
dlc = to_title(" s P a C e D !")
598598
call check(dlc == " S P A C E D !")
599599

600-
dlc = to_title("1st, 2nd, 3rD, 4TH")
601-
call check(dlc == "1St, 2Nd, 3Rd, 4Th")
600+
dlc = to_title("1st, 2nD, 3RD")
601+
call check(dlc == "1st, 2nd, 3rd")
602602

603603
dlc = to_title("""quOTed""")
604604
call check(dlc == """Quoted""")

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 t8iTLE_th!s p#ra$e"
31-
compare_string = "_To T8Itle_Th!S 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)