Skip to content

Commit

Permalink
fix testsuite for macos
Browse files Browse the repository at this point in the history
  • Loading branch information
lefessan committed Oct 12, 2023
1 parent efb7600 commit caed295
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/testsuite.src/syn_copy.at
Original file line number Diff line number Diff line change
Expand Up @@ -1077,14 +1077,14 @@ AT_CLEANUP
AT_SETUP([Option --copy COPYBOOK])
AT_KEYWORDS([argument])

AT_DATA([copybook1.cpy], [
AT_DATA([copybook1.CPY], [
REPLACE ==BEGIN PROGRAM== BY ==IDENTIFICATION DIVISION.
PROGRAM-ID.==.
])
AT_DATA([copybook2.cpy], [
AT_DATA([copybook2.CPY], [
REPLACE ALSO ==output== BY =="Hello world"==.
])
AT_DATA([copybook3.cpy], [
AT_DATA([copybook3.CPY], [
REPLACE ALSOO ==output== BY =="Hello world"==.
])
AT_DATA([prog.cob], [
Expand All @@ -1110,8 +1110,8 @@ prog.cob:4: error: PROCEDURE DIVISION header missing
AT_CHECK([$COMPILE_ONLY --copy copybook1 --copy copybook2 prog.cob], [0], [], [])

AT_CHECK([$COMPILE_ONLY --copy copybook1 --copy copybook3 prog.cob], [1], [],
[copybook3.cpy:2: error: syntax error, unexpected ==, expecting BY
copybook3.cpy:2: error: PROGRAM-ID header missing
[copybook3.CPY:2: error: syntax error, unexpected ==, expecting BY
copybook3.CPY:2: error: PROGRAM-ID header missing
])

AT_CHECK([$COMPILE_ONLY --copy copybook1 --copy copybook4 prog.cob], [97], [],
Expand Down

0 comments on commit caed295

Please sign in to comment.