aboutsummaryrefslogtreecommitdiff
path: root/tests/test-chime-check-interval.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-07-09 17:53:15 -0500
committerCraig Jennings <c@cjennings.net>2026-07-09 17:53:15 -0500
commit3f0dcdcdf9ad7401867f997ff165bb47cc46c9a4 (patch)
tree53587281bc692c438bf123e2ff209ebf8b277771 /tests/test-chime-check-interval.el
parent7e03862f6315af4b960cbbbe670764cbd49b09d1 (diff)
downloadchime-3f0dcdcdf9ad7401867f997ff165bb47cc46c9a4.tar.gz
chime-3f0dcdcdf9ad7401867f997ff165bb47cc46c9a4.zip
test: assert on chime's messages, not on Emacs staying silent
Three sound tests mocked message and counted everything it captured. Under make coverage, chime.el loads as instrumented source, so the sentinel lambda compiles on first call and emits "Warning: argument '_event' not left unused" through message. That warning landed in the capture list, the counts came out one high, and the Coverage job failed while all five Emacs versions passed. The tests now filter captured messages to chime's own. What they mean is that chime reported the failure once, not that nothing in Emacs said anything. make test and make test-all never load the instrumented source, so they can't catch this. make coverage reproduces it.
Diffstat (limited to 'tests/test-chime-check-interval.el')
0 files changed, 0 insertions, 0 deletions