diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e333e837..79eab9f9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,13 +30,7 @@ jobs: uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 - name: Setup COBOL - run: | - sudo apt-get update - sudo apt-get -y install curl tar libncurses5-dev libgmp-dev libdb-dev iproute2 ranger autoconf build-essential - sudo apt-get -y --purge autoremove - - curl -sLk https://sourceforge.net/projects/open-cobol/files/gnu-cobol/3.1/gnucobol-3.1.2.tar.gz | tar xz - cd gnucobol-3.1.2 && ./configure --prefix=/usr && sudo make && sudo make install && sudo ldconfig + run: sudo apt update && sudo apt install -y gnucobol - name: Fetch CobolCheck run: bin/fetch-cobolcheck diff --git a/exercises/practice/luhn/.meta/proof.ci.cob b/exercises/practice/luhn/.meta/proof.ci.cob index e6ce556e..f610843f 100644 --- a/exercises/practice/luhn/.meta/proof.ci.cob +++ b/exercises/practice/luhn/.meta/proof.ci.cob @@ -26,7 +26,8 @@ MOVE 0 TO WS-CARD-NUMBER EXIT PERFORM ELSE - MOVE CONCAT(WS-CARD-DIGITS, WS-CARD-NUMBER(WS-INDEX:1)) + MOVE CONCATENATE(WS-CARD-DIGITS, + WS-CARD-NUMBER(WS-INDEX:1)) TO WS-CARD-DIGITS END-IF END-PERFORM. diff --git a/exercises/practice/two-fer/.meta/proof.ci.cob b/exercises/practice/two-fer/.meta/proof.ci.cob index ea580208..661d65ba 100644 --- a/exercises/practice/two-fer/.meta/proof.ci.cob +++ b/exercises/practice/two-fer/.meta/proof.ci.cob @@ -11,7 +11,7 @@ IF WS-NAME EQUAL SPACE THEN MOVE "One for you, one for me." TO WS-RESULT ELSE - MOVE FUNCTION CONCAT("One for ", + MOVE FUNCTION CONCATENATE("One for ", FUNCTION TRIM(WS-NAME TRAILING),", one for me.") TO WS-RESULT END-IF.