Closed afonsonf closed 2 years ago
Does the "edge case" violate the TLA+ def of the operator?
Does the "edge case" violate the TLA+ def of the operator?
Yes, however I changed it now to match the TLA+ operator behaviour and reverted the tests
LGTM (generally I'd suggest adding curly braces even to single-line if statements).
Are you going to squash and merge to master?
Change how replace is done to use StringUtils from apache library. Add tests for all special characters of TLA+ in strings. Updated some tests because the new library has different behaviour in edge cases: e.g. replace "" with "a" in "" equals "".
Update: Now replace "" with "a" in "" equals "a".
Closes #57