diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-06-11 07:17:49 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-06-11 07:17:49 -0700 |
commit | e781c2a91c245bbbc3607b6b16498d99f14ea36b (patch) | |
tree | b3421cbedbcdfadd78bbfd02156a8e70afb383b0 /share | |
parent | 225ff2fa2fdb9e5169db5e2c06dc3b0053b775bb (diff) | |
download | txr-e781c2a91c245bbbc3607b6b16498d99f14ea36b.tar.gz txr-e781c2a91c245bbbc3607b6b16498d99f14ea36b.tar.bz2 txr-e781c2a91c245bbbc3607b6b16498d99f14ea36b.zip |
tests: support testing for warnings.
* tests/common.tl (error-to-sym): Catch warnings, and convert
to :warning symbol.
(vtest): Support new kinds of expected value: :warning.
The test is satisfied if it throws a warning at expansion time
or during evaluation.
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions