Skip to content

Commit 04d3446

Browse files
committed
fixed unit test for previous commit.
1 parent fd37948 commit 04d3446

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/tests/jf_test_24.f90

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@ subroutine test_24(error_cnt)
4949
call json%create(p,'c' )
5050
call json%create(p,'a.array' )
5151
call json%create(p,'a.array(2)' )
52-
call json%add_with_path(p,'b.bb' , 1.0_rk , found)
53-
call json%add_with_path(p,'c.ccc' , 2 , found)
54-
call json%add_with_path(p,'a.aa.aaa(1)' , '3.0' , found)
55-
call json%add_with_path(p,'a.aa.aaaa(3)' , 4.0_rk , found)
56-
call json%add_with_path(p,'a.array(1)' , 5 , found)
57-
call json%add_with_path(p,'a.array(2).scalar' , '6' , found)
58-
call json%add_with_path(p,'a.array(2).logical', .true. , found)
52+
call json%add_by_path(p,'b.bb' , 1.0_rk , found)
53+
call json%add_by_path(p,'c.ccc' , 2 , found)
54+
call json%add_by_path(p,'a.aa.aaa(1)' , '3.0' , found)
55+
call json%add_by_path(p,'a.aa.aaaa(3)' , 4.0_rk , found)
56+
call json%add_by_path(p,'a.array(1)' , 5 , found)
57+
call json%add_by_path(p,'a.array(2).scalar' , '6' , found)
58+
call json%add_by_path(p,'a.array(2).logical', .true. , found)
5959

6060
write(error_unit,'(A)') 'validating...'
6161
call json%validate(p,is_valid,error_msg)

0 commit comments

Comments
 (0)