diff options
| author | Wilfred Hughes <me@wilfred.me.uk> | 2019-02-16 17:27:42 +0000 |
|---|---|---|
| committer | Wilfred Hughes <me@wilfred.me.uk> | 2019-02-16 17:30:05 +0000 |
| commit | 2d23a267b316adcd7754ab1fbb4154b9cb2bfbcb (patch) | |
| tree | 0f6dd26b0e5c8924676d538b58d1a625350c578a /test/helpful-unit-test.el | |
| parent | b80701b193bddfffdacd2ab065749cc63d0e45d0 (diff) | |
Fix viewing the value of inhibit-read-only
Fixes #189
Diffstat (limited to 'test/helpful-unit-test.el')
| -rw-r--r-- | test/helpful-unit-test.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/helpful-unit-test.el b/test/helpful-unit-test.el index cff43fc..756bc76 100644 --- a/test/helpful-unit-test.el +++ b/test/helpful-unit-test.el @@ -842,3 +842,8 @@ find the source code." (should (helpful--autoloaded-p 'rx-to-string buf)) (when opened (kill-buffer buf)))) + +(ert-deftest helpful--inhibit-read-only () + (helpful-variable 'inhibit-read-only) + (should + (s-contains-p "Value\nnil" (buffer-string)))) |
