Skip to content

Commit 15c1a31

Browse files
committed
unit test updates.
1 parent 4b82f14 commit 15c1a31

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/tests/jf_test_3.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ subroutine test_3(error_cnt)
4040
write(error_unit,'(A)') ''
4141

4242
error_cnt = 0
43-
call json%initialize()
43+
call json%initialize(allow_duplicate_keys=.false.)
4444
if (json%failed()) then
4545
call json%print_error_message(error_unit)
4646
error_cnt = error_cnt + 1

src/tests/jf_test_8.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ subroutine test_8(error_cnt)
3838
character(len=*),parameter :: str_invalid = '{ "label": "foo",'//newline//' "value : "bar" }'
3939

4040
error_cnt = 0
41-
call json%initialize()
41+
call json%initialize(allow_duplicate_keys=.false.)
4242
if (json%failed()) then
4343
call json%print_error_message(error_unit)
4444
error_cnt = error_cnt + 1

0 commit comments

Comments
 (0)