diff --git a/test/tla/cli-integration-tests.md b/test/tla/cli-integration-tests.md index efce6a97d6..958054cb4a 100644 --- a/test/tla/cli-integration-tests.md +++ b/test/tla/cli-integration-tests.md @@ -2332,22 +2332,27 @@ $ apalache-mc check --config=Test2750.cfg Test2750.tla | sed 's/[IEW]@.*//' EXITCODE: OK ``` -### check Bug2772.tla succeeds on supported syntax +### check Bug2772.tla errors on unsupported syntax + +It should not be possible to pass input, which would require function set expansion without triggering an exception. ```sh -$ apalache-mc check --inv=OkInv --length=1 Bug2772.tla | sed 's/[IEW]@.*//' +$ apalache-mc check --inv=ErrInv --length=1 Bug2772.tla | sed 's/[IEW]@.*//' ... -EXITCODE: OK +EXITCODE: ERROR (255) ``` -### check Bug2772.tla errors on unsupported syntax +### check Bug2772.tla succeeds on supported syntax + +However, if one uses a semantically equivalent (syntactically different) expression, where the function set is not forced to expand, it should pass. ```sh -$ apalache-mc check --inv=ErrInv --length=1 Bug2772.tla | sed 's/[IEW]@.*//' +$ apalache-mc check --inv=OkInv --length=1 Bug2772.tla | sed 's/[IEW]@.*//' ... -EXITCODE: ERROR (255) +EXITCODE: OK ``` + ### check profiling Check that the profiler output is produced as explained in