aboutsummaryrefslogtreecommitdiff
path: root/test/helpful-unit-test.el
diff options
context:
space:
mode:
authorWilfred Hughes <me@wilfred.me.uk>2019-02-16 17:27:42 +0000
committerWilfred Hughes <me@wilfred.me.uk>2019-02-16 17:30:05 +0000
commit2d23a267b316adcd7754ab1fbb4154b9cb2bfbcb (patch)
tree0f6dd26b0e5c8924676d538b58d1a625350c578a /test/helpful-unit-test.el
parentb80701b193bddfffdacd2ab065749cc63d0e45d0 (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.el5
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))))