neopragma/cobol-unit-test

Add support for IN variables in EXPECT statements

Opened this issue · 1 comments

A statement like this:

EXPECT A IN B TO BE NUMERIC 5

Will generate a statement like this:

MOVE A TO UT-EXPECTED

Which will fail during compile, if A is defined multiple times in ws.

The correct generated statement would be:

MOVE A IN B TO UT-EXPECTED

This issue is fixed in my own fork.