diff options
author | Dmitry Kurochkin <dmitry.kurochkin@gmail.com> | 2011-05-26 20:27:58 +0400 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2011-05-26 14:13:48 -0700 |
commit | 5297b361d1c5c7dd62b80da0327c091e4c23b140 (patch) | |
tree | 6c84aa0124ecfc538d20997a099ec692eec27107 /test/basic | |
parent | b15cfd7ffae961b94f45e4402ede05146cf9416d (diff) |
test: add test-lib.el file with `visible-buffer-string' function
The patch adds test-lib.el file for Emacs tests auxiliary stuff.
Currently, it implements two functions: `visible-buffer-string'
and `visible-buffer-substring'. These are similar to standard
counterparts without "visible-" prefix but exclude invisible
text. The functions are not used anywhere at the moment but
should be useful for testing hiding/showing in the Emacs
interface.
Edited-by: Carl Worth <cworth@cworth.org> Fixed "basic" test to ignore
new test-lib.el file.
Diffstat (limited to 'test/basic')
-rwxr-xr-x | test/basic | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -55,7 +55,7 @@ eval $(sed -n -e '/^TESTS="$/,/^"$/p' notmuch-test ../notmuch-test) tests_in_suite=$(for i in $TESTS; do echo $i; done | sort) available=$(ls -1 ../ | \ sed -r -e "/^(aggregate-results.sh|Makefile|Makefile.local|notmuch-test)/d" \ - -e "/^(README|test-lib.sh|test-results|tmp.*|valgrind|corpus*)/d" \ + -e "/^(README|test-lib.sh|test-lib.el|test-results|tmp.*|valgrind|corpus*)/d" \ -e "/^(emacs.expected-output|smtp-dummy|smtp-dummy.c|test-verbose)/d" \ -e "/^(test.expected-output|.*~)/d" | sort) test_expect_equal "$tests_in_suite" "$available" |