diff --git a/.github/workflows/cobol.yml b/.github/workflows/cobol.yml index 786059e..3264a3a 100644 --- a/.github/workflows/cobol.yml +++ b/.github/workflows/cobol.yml @@ -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 diff --git a/cobol/src/main/cobol/HELLO-CONSOLE.CBL b/cobol/src/main/cobol/HELLO-CONSOLE.CBL index 9a09f7d..6ec79c6 100644 --- a/cobol/src/main/cobol/HELLO-CONSOLE.CBL +++ b/cobol/src/main/cobol/HELLO-CONSOLE.CBL @@ -6,4 +6,5 @@ 01 MSG PIC A(20). PROCEDURE DIVISION USING MSG. + HELLO-CONSOLE. DISPLAY MSG. diff --git a/cobol/src/test/cobol/HELLO-CONSOLE/HELLO-CONSOLE.cut b/cobol/src/test/cobol/HELLO-CONSOLE/HELLO-CONSOLE.cut new file mode 100644 index 0000000..a3071d3 --- /dev/null +++ b/cobol/src/test/cobol/HELLO-CONSOLE/HELLO-CONSOLE.cut @@ -0,0 +1,5 @@ +TestSuite "HELLO-CONSOLE" + +TestCase "SHOULD DISPLAY HELLO MESSAGE" + MOVE "HELLO TEST!" TO MSG + PERFORM HELLO-CONSOLE \ No newline at end of file