[m-rev.] diff: update programming style in tests/hard_coded
Julien Fischer
jfischer at opturion.com
Thu Jan 7 13:37:08 AEDT 2021
Update programming style in tests/hard_coded.
tests/hard_coded/*.m:
Update programming style, unless doing so would change
the meaning of the test, in particular:
- use '.' as a module qualifier in place of '__'
- use {write,print}_line where appropriate
- use if-then-else in place of C -> T ; E
- use state variables in place of DCGs
tests/hard_coded/dir_test.m:
Document what the expected outputs correspond to.
Use a uniform module qualifier in the output.
tests/hard_coded/dir_test.exp*:
Conform to the above change.
Julien.
(Diff attached.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HARD_CODED.diff.gz
Type: application/gzip
Size: 30508 bytes
Desc:
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20210107/2218d14d/attachment-0001.gz>
More information about the reviews
mailing list