Skip to content
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

Cobol HELLO-CONSOLE test #56

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
4 changes: 3 additions & 1 deletion .github/workflows/cobol.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ jobs:
cobc --version

- name: Test
run: ./cobolcheck -p HELLO
run: |
./cobolcheck -p HELLO
./cobolcheck -p HELLO-CONSOLE

- name: Test Report
uses: dorny/test-reporter@v1
Expand Down
1 change: 1 addition & 0 deletions cobol/src/main/cobol/HELLO-CONSOLE.CBL
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
01 MSG PIC A(20).

PROCEDURE DIVISION USING MSG.
HELLO-CONSOLE.
DISPLAY MSG.
5 changes: 5 additions & 0 deletions cobol/src/test/cobol/HELLO-CONSOLE/HELLO-CONSOLE.cut
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
TestSuite "HELLO-CONSOLE"

TestCase "SHOULD DISPLAY HELLO MESSAGE"
MOVE "HELLO TEST!" TO MSG
PERFORM HELLO-CONSOLE