summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/faceup-resources/files/test1.txt
diff options
context:
space:
mode:
authorAnders Lindgren <andlind@gmail.com>2017-10-26 21:31:13 +0200
committerAnders Lindgren <andlind@gmail.com>2017-10-26 21:31:28 +0200
commita0e5a02125a62d3c4f09abea3a0085111ddffa77 (patch)
tree10b95465cb986c63eafe3ce7ee86a4dded42bc39 /test/lisp/emacs-lisp/faceup-resources/files/test1.txt
parentbc9300ac5ed3bdf52a2f8b9e217236e1ee76cd02 (diff)
downloademacs-a0e5a02125a62d3c4f09abea3a0085111ddffa77.tar.gz
emacs-a0e5a02125a62d3c4f09abea3a0085111ddffa77.tar.bz2
emacs-a0e5a02125a62d3c4f09abea3a0085111ddffa77.zip
New package, `faceup'
`faceup' is a framework for regression testing of font-lock keywords in ert. It is based on a human-readable markup language. (Bug#16063 and bug#28311). * lisp/emacs-lisp/faceup.el: * test/lisp/emacs-lisp/faceup-tests/faceup-test-basics.el: * test/lisp/emacs-lisp/faceup-tests/faceup-test-files.el: * test/lisp/emacs-lisp/faceup-resources/faceup-test-mode.el: * test/lisp/emacs-lisp/faceup-resources/faceup-test-this-file-directory.el: * test/lisp/emacs-lisp/faceup-resources/files/test1.txt: * test/lisp/emacs-lisp/faceup-resources/files/test1.txt.faceup: New files.
Diffstat (limited to 'test/lisp/emacs-lisp/faceup-resources/files/test1.txt')
-rw-r--r--test/lisp/emacs-lisp/faceup-resources/files/test1.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/lisp/emacs-lisp/faceup-resources/files/test1.txt b/test/lisp/emacs-lisp/faceup-resources/files/test1.txt
new file mode 100644
index 00000000000..d971f364c2d
--- /dev/null
+++ b/test/lisp/emacs-lisp/faceup-resources/files/test1.txt
@@ -0,0 +1,15 @@
+This is a test of `faceup', a regression test system for font-lock
+keywords. It should use major mode `faceup-test-mode'.
+
+WARNING: The first word on this line should use
+`font-lock-warning-face', and a tooltip should be displayed if the
+mouse pointer is moved over it.
+
+In this mode "<" and ">" are parentheses, but only when on the same
+line without any other "<" and ">" characters between them.
+<OK> <NOT <OK> >
+<
+NOT OK
+>
+
+test1.txt ends here.