]> git.notmuchmail.org Git - notmuch/commit
test: set variables using `let' instead of `setq' in Emacs tests
authorDmitry Kurochkin <dmitry.kurochkin@gmail.com>
Tue, 28 Jun 2011 04:45:09 +0000 (08:45 +0400)
committerCarl Worth <cworth@cworth.org>
Tue, 28 Jun 2011 22:06:47 +0000 (15:06 -0700)
commit0cc5483a9cc496bbaa1a6aef03e99b4a7686f779
tree28f6262cd232195b3945b6341d487f129ddc5362
parent0417c1fad67440756aa789c40fbb5153a98f4ca0
test: set variables using `let' instead of `setq' in Emacs tests

Using `setq' for setting variables in Emacs tests affect other
tests that may run in the same Emacs environment.  Currently it
works because each test is run in a separate Emacs instance.  But
in the future multiple tests will run in a single Emacs instance.
The patch changes all variables to use `let', so the scope of the
change is limited to a single test.
test/emacs
test/test-lib.sh