Skip to content

Commit e24a925

Browse files
Added test cases for empty character scalars
Co-authored-by: Aman Godara <34789087+Aman-Godara@users.noreply.github.com>
1 parent 75c6d8f commit e24a925

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/tests/string/test_string_operator.f90

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,11 @@ subroutine test_concat
103103

104104
a = "a"
105105
b = "b"
106-
call check("a" // b == "ab")
107-
call check( a // "b" == "ab")
108-
call check( a // b == "ab")
106+
call check( "a" // b == "ab" )
107+
call check( a // "b" == "ab" )
108+
call check( a // b == "ab" )
109+
call check( a // "" == "a" )
110+
call check( "" // b == "b" )
109111
end subroutine test_concat
110112

111113
end module test_string_operator

0 commit comments

Comments
 (0)