Skip to content

Commit 667f57c

Browse files
committed
Add prints
1 parent 78feba9 commit 667f57c

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

test/io/test_np.f90

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ module test_np
33
use stdlib_filesystem, only : temp_dir, exists
44
use stdlib_kinds, only : int8, int16, int32, int64, sp, dp
55
use stdlib_io_np, only : save_npy, load_npy, load_npz, add_array, save_npz
6-
use stdlib_string_type, only : char
76
use testdrive, only : new_unittest, unittest_type, error_type, check, test_failed
87
implicit none
98
private
@@ -1190,9 +1189,8 @@ subroutine npz_save_two_arrays(error)
11901189

11911190
select type (typed_array => arrays_reloaded(1)%array)
11921191
class is (t_array_rdp_2)
1193-
call check(error, size(typed_array%values), size(input_array_1), &
1194-
"First array does not match in size: "//char(size(input_array_1))//" expected, " &
1195-
//char(size(typed_array%values))//" obtained.")
1192+
print *, size(typed_array%values), size(input_array_1)
1193+
call check(error, size(typed_array%values), size(input_array_1), "First array does not match in size.")
11961194
if (allocated(error)) then
11971195
call delete_file(output_file); return
11981196
end if
@@ -1207,9 +1205,7 @@ subroutine npz_save_two_arrays(error)
12071205

12081206
select type (typed_array => arrays_reloaded(2)%array)
12091207
class is (t_array_cdp_1)
1210-
call check(error, size(typed_array%values), size(input_array_2), &
1211-
"Second array does not match in size: "//char(size(input_array_2))//" expected, " &
1212-
//char(size(typed_array%values))//" obtained.")
1208+
call check(error, size(typed_array%values), size(input_array_2), "Second array does not match in size.")
12131209
if (allocated(error)) then
12141210
call delete_file(output_file); return
12151211
end if

0 commit comments

Comments
 (0)