diff --git a/test/unit/fortran/src/core_utils/test_string_core_utils.pf b/test/unit/fortran/src/core_utils/test_string_core_utils.pf index 50a8b99e..1498ed76 100644 --- a/test/unit/fortran/src/core_utils/test_string_core_utils.pf +++ b/test/unit/fortran/src/core_utils/test_string_core_utils.pf @@ -72,7 +72,7 @@ subroutine test_stringify_empty_arrays() use funit use string_core_utils, only: core_stringify - character(128), allocatable :: carr(:) + character(len=128), allocatable :: carr(:) integer(int32), allocatable :: i32arr(:) integer(int64), allocatable :: i64arr(:) logical, allocatable :: larr(:) @@ -95,20 +95,20 @@ subroutine test_stringify_character_array() use funit use string_core_utils, only: core_stringify - character(*), parameter :: custom_separator = '<' - character(*), parameter :: custom_separator_with_spaces = ' < ' - character(*), parameter :: expected_default_separator = & + character(len=*), parameter :: custom_separator = '<' + character(len=*), parameter :: custom_separator_with_spaces = ' < ' + character(len=*), parameter :: expected_default_separator = & 'Talc, Gypsum, Calcite, Fluorite, Apatite, Orthoclase, Quartz, Topaz, Corundum, Diamond' - character(*), parameter :: expected_custom_separator = & + character(len=*), parameter :: expected_custom_separator = & 'Talc