Skip to content

Commit 0b31288

Browse files
committed
Update test_maps.f90
Addressed 132 character limit issues.
1 parent 6c3d3df commit 0b31288

File tree

1 file changed

+18
-9
lines changed

1 file changed

+18
-9
lines changed

test/hashmaps/test_maps.f90

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -219,9 +219,11 @@ subroutine run_hashmap_tests(error, map, name, hasher)
219219
call check(error, exists, "Failure on int8 interface for get_other_data after set_other_data for"//trim(name))
220220
select type(data)
221221
type is (integer)
222-
call check(error, data == (i+test_size), "Failure on int8 interface set_other_data data check for"//trim(name))
222+
call check(error, data == (i+test_size), &
223+
"Failure on int8 interface set_other_data data check for"//trim(name))
223224
class default
224-
call test_failed(error, "Int8 interface set_other_data get_other_data didn't return an integer for "//trim(name))
225+
call test_failed(error, &
226+
"Int8 interface set_other_data get_other_data didn't return an integer for "//trim(name))
225227
end select
226228

227229
! Check entry count and very it matches expected entry count
@@ -242,7 +244,8 @@ subroutine run_hashmap_tests(error, map, name, hasher)
242244
call map % key_test(key_array, exists )
243245
call check(error, .not.exists, "Key exists after removal on int8 interface for "//trim(name))
244246

245-
call check( error, map % entries() == (test_size-i), "Failure on int8 interface remove entery count for "//trim(name) )
247+
call check( error, map % entries() == (test_size-i), &
248+
"Failure on int8 interface remove entery count for "//trim(name) )
246249
enddo
247250
end block
248251

@@ -284,9 +287,11 @@ subroutine run_hashmap_tests(error, map, name, hasher)
284287
call check(error, exists, "Failure on int32 interface for get_other_data after set_other_data for"//trim(name))
285288
select type(data)
286289
type is (integer)
287-
call check(error, data == (i+test_size), "Failure on int32 interface set_other_data data check for"//trim(name))
290+
call check(error, data == (i+test_size), &
291+
"Failure on int32 interface set_other_data data check for"//trim(name))
288292
class default
289-
call test_failed(error, "Int32 interface set_other_data get_other_data didn't return an integer for "//trim(name))
293+
call test_failed(error, &
294+
"Int32 interface set_other_data get_other_data didn't return an integer for "//trim(name))
290295
end select
291296

292297
call check( error, map % entries() == i, "Failure on int32 interface add entery count for "//trim(name) )
@@ -347,12 +352,15 @@ subroutine run_hashmap_tests(error, map, name, hasher)
347352

348353
! Get updated value and verify it is correct.
349354
call map % get_other_data( char_key, data, exists )
350-
call check(error, exists, "Failure on char interface for get_other_data after set_other_data for"//trim(name))
355+
call check(error, exists, &
356+
"Failure on char interface for get_other_data after set_other_data for"//trim(name))
351357
select type(data)
352358
type is (integer)
353-
call check(error, data == (i+test_size), "Failure on char interface set_other_data data check for"//trim(name))
359+
call check(error, data == (i+test_size), &
360+
"Failure on char interface set_other_data data check for"//trim(name))
354361
class default
355-
call test_failed(error, "Char interface set_other_data get_other_data didn't return an integer for "//trim(name))
362+
call test_failed(error, &
363+
"Char interface set_other_data get_other_data didn't return an integer for "//trim(name))
356364
end select
357365

358366
call check( error, map % entries() == i, "Failure on char interface add entery count for "//trim(name) )
@@ -372,7 +380,8 @@ subroutine run_hashmap_tests(error, map, name, hasher)
372380
call map % key_test(char_key, exists )
373381
call check(error, .not.exists, "Key exists after removal on char interface for "//trim(name))
374382

375-
call check( error, map % entries() == (test_size-i), "Failure on char interface remove entery count for "//trim(name) )
383+
call check( error, map % entries() == (test_size-i), &
384+
"Failure on char interface remove entery count for "//trim(name) )
376385
enddo
377386
end block
378387

0 commit comments

Comments
 (0)