Skip to content

Improve a test to execute untested code in write_json_info in cobj/codegen.c #667

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion tests/command-line-options.src/info-java-dir.at
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ AT_DATA([callee.cbl], [
LINKAGE SECTION.
01 P1 PIC X ANY LENGTH.
01 P2 PIC 99.
PROCEDURE DIVISION USING P1 P2.
01 P3 PIC 9V9.
PROCEDURE DIVISION USING P1 P2 P3.
GOBACK.
])

Expand Down Expand Up @@ -38,6 +39,10 @@ AT_CHECK([cat info_callee.json], [0],
{
"variable_name": "P2",
"java_type": "int"
},
{
"variable_name": "P3",
"java_type": "double"
}
@:>@
}
Expand Down
Loading