Skip to content

Commit 1016d2a

Browse files
committed
fixing unit test 15
1 parent acf840e commit 1016d2a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/tests/jf_test_11.F90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module jf_test_11_mod
1212
implicit none
1313

1414
character(len=*),parameter :: dir = '../files/inputs/' !! working directory
15-
# ifdef USE_UCS4
15+
#ifdef USE_UCS4
1616
character(len=*),parameter :: unicode_file = 'hello-world-ucs4.json'
1717
#endif
1818
character(len=*),parameter :: ascii_equivalent = 'hello-world-ascii.json'

src/tests/jf_test_15.f90

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
module jf_test_15_mod
99

10-
use json_module
11-
use, intrinsic :: iso_fortran_env , only: error_unit,output_unit
10+
use json_module, CK => json_CK
11+
use, intrinsic :: iso_fortran_env , only: error_unit,output_unit,wp=>real64
1212

1313
implicit none
1414

@@ -27,7 +27,7 @@ subroutine test_15(error_cnt)
2727
type(json_file) :: file1, file2
2828
logical :: found,status_ok
2929
integer :: var_type,i,n_children
30-
real(RK) :: d
30+
real(wp) :: d
3131
logical :: tf
3232
character(kind=CK,len=:),allocatable :: error_msg
3333

0 commit comments

Comments
 (0)