aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/lisp/textmodes/sgml-mode-tests.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/lisp/textmodes/sgml-mode-tests.el b/test/lisp/textmodes/sgml-mode-tests.el
index a900e8dcf22..1b8965e3440 100644
--- a/test/lisp/textmodes/sgml-mode-tests.el
+++ b/test/lisp/textmodes/sgml-mode-tests.el
@@ -165,6 +165,10 @@ The point is set to the beginning of the buffer."
165 (sgml-mode) 165 (sgml-mode)
166 (insert "a\"b <tag>c'd</tag>") 166 (insert "a\"b <tag>c'd</tag>")
167 (should (= 1 (car (syntax-ppss (1- (point-max)))))) 167 (should (= 1 (car (syntax-ppss (1- (point-max))))))
168 (should (= 0 (car (syntax-ppss (point-max)))))
169 (erase-buffer)
170 (insert "<tag>c>d</tag>")
171 (should (= 1 (car (syntax-ppss (1- (point-max))))))
168 (should (= 0 (car (syntax-ppss (point-max))))))) 172 (should (= 0 (car (syntax-ppss (point-max)))))))
169 173
170(provide 'sgml-mode-tests) 174(provide 'sgml-mode-tests)