[PATCH] test: add tests for `notmuch-hello-refresh-hook'

Dmitry Kurochkin dmitry.kurochkin at gmail.com
Wed Dec 21 10:26:40 PST 2011


Hi Thomas.

I think all hook count tests must be consistent.  We should either add
hook counters in test-lib.el (like it is already done for
`notmuch-hello-mode-hook') or use lambdas in individual test cases (like
you did in the patch).

I believe the former approach is better (that is why I used it in the
first place :)).  So I sent patches [1] that add general hook counter to
test-lib.el and `notmuch-hello-mode-hook' tests that use it.

Regards,
  Dmitry

[1] id:"1324491506-1134-1-git-send-email-dmitry.kurochkin at gmail.com"


More information about the notmuch mailing list