notmuch/test/emacs-test-functions.sh
David Edmondson 260975e8af test: Add `test_emacs_expect_t'.
Add a new test function to allow simpler testing of emacs
functionality.

`test_emacs_expect_t' takes one argument - a lisp expression to
evaluate. The test passes if the expression returns `t', otherwise it
fails and the output is reported to the tester.
2012-01-25 07:25:44 -04:00

9 lines
165 B
Bash
Executable file

#!/usr/bin/env bash
test_description="emacs test function sanity"
. test-lib.sh
test_begin_subtest "emacs test function sanity"
test_emacs_expect_t 't'
test_done