Skip to content

Commit

Permalink
test elaboration
Browse files Browse the repository at this point in the history
  • Loading branch information
Kukovec committed Nov 14, 2023
1 parent 5c197f6 commit b563d6e
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions test/tla/cli-integration-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b563d6e

Please sign in to comment.