Skip to content

Conversation

yutaro-sakamoto
Copy link
Contributor

@yutaro-sakamoto yutaro-sakamoto commented Jun 13, 2025

This pull request improves a test in tests/command-line-options.src/info-java-dir.at.
Due to this modification, the modified test would run the following untested code. See also #662

fprintf(fp, "\"double\"");

@yutaro-sakamoto yutaro-sakamoto force-pushed the improve-coverage-info-json-dir branch from e49fba2 to f74720b Compare June 13, 2025 08:21
@yutaro-sakamoto yutaro-sakamoto marked this pull request as ready for review June 17, 2025 04:16
@Copilot Copilot AI review requested due to automatic review settings June 17, 2025 04:16
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR improves test coverage for the write_json_info functionality in cobj/codegen.c by updating the test file to execute previously untested code paths.

  • Updated AT_DATA section to include a new parameter (P3) in the COBOL procedure signature.
  • Updated JSON checks in the test file to verify that P3 is correctly mapped to a Java double.

@yutaro-sakamoto yutaro-sakamoto merged commit 80eedf5 into opensourcecobol:develop Jun 17, 2025
139 checks passed
@yutaro-sakamoto yutaro-sakamoto mentioned this pull request Jun 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants