[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/mmm-mode 9fecfd4 10/12: Unbreak some of the tests
From: |
Dmitry Gutov |
Subject: |
[elpa] externals/mmm-mode 9fecfd4 10/12: Unbreak some of the tests |
Date: |
Sun, 24 May 2020 20:16:10 -0400 (EDT) |
branch: externals/mmm-mode
commit 9fecfd42e2dfafeddf1f6f8eed20acb8bde5b08a
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>
Unbreak some of the tests
---
tests/highlighting.el | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/tests/highlighting.el b/tests/highlighting.el
index 5ce2269..62a1191 100644
--- a/tests/highlighting.el
+++ b/tests/highlighting.el
@@ -36,6 +36,7 @@
mmm-parse-when-idle)
(insert "foo // foo_bar")
(fundamental-mode)
+ (setq font-lock-defaults '(nil nil))
(mmm-mode-on)
(mmm-ify-by-regexp 'foo1-mode "// " 0 "\\'" 0 nil)
(font-lock-fontify-region (point-min) (point-max))
@@ -55,6 +56,7 @@
mmm-parse-when-idle)
(insert "foo // foo_bar")
(fundamental-mode)
+ (setq font-lock-defaults '(nil nil))
(mmm-mode-on)
(mmm-ify-by-regexp 'foo2-mode "// " 0 "\\'" 0 nil)
(font-lock-fontify-region (point-min) (point-max))
@@ -82,7 +84,8 @@
(ert-deftest mmm-fontify-region-list-ignores-outside-for-syntactic-ff-tion ()
(ert-with-test-buffer nil
(let (mmm-mode-ext-classes-alist
- mmm-parse-when-idle)
+ mmm-parse-when-idle
+ mmm-c-derived-modes)
(insert "unpaired '!\n")
(insert "js>>\n")
(insert "var woo = js;\n")
@@ -98,7 +101,8 @@
(ert-deftest mmm-fontify-region-list-carries-string-after-subregion ()
(ert-with-test-buffer nil
(let (mmm-mode-ext-classes-alist
- mmm-parse-when-idle)
+ mmm-parse-when-idle
+ mmm-c-derived-modes)
(insert "<p class=\"foo <% 1 + 2 %> bar tee\"</p>")
(html-mode)
(mmm-mode-on)
- [elpa] externals/mmm-mode updated (ff0b214 -> 8aed53f), Dmitry Gutov, 2020/05/24
- [elpa] externals/mmm-mode 1b4ada3 04/12: mmm-c-derived-modes: Include js-mode and typescript-mode, Dmitry Gutov, 2020/05/24
- [elpa] externals/mmm-mode 2ab099a 01/12: Save and restore sytax-ppss-table as buffer-local var, Dmitry Gutov, 2020/05/24
- [elpa] externals/mmm-mode 1529d8e 02/12: Remove some trailing whitespace, Dmitry Gutov, 2020/05/24
- [elpa] externals/mmm-mode 783572f 03/12: Actually save it per-buffer, Dmitry Gutov, 2020/05/24
- [elpa] externals/mmm-mode 27eb95e 05/12: add documentencoding, Dmitry Gutov, 2020/05/24
- [elpa] externals/mmm-mode e4db97a 07/12: mmm-sort-overlays: Use copy-sequence, Dmitry Gutov, 2020/05/24
- [elpa] externals/mmm-mode 94089d7 08/12: mmm-save-all: Support edebug, Dmitry Gutov, 2020/05/24
- [elpa] externals/mmm-mode 552d740 09/12: mmm-sort-overlays: Sort by nesting when no priorities, Dmitry Gutov, 2020/05/24
- [elpa] externals/mmm-mode 9fecfd4 10/12: Unbreak some of the tests,
Dmitry Gutov <=
- [elpa] externals/mmm-mode 981795b 06/12: Merge pull request #101 from typester/fix/make-with-texinfo6.7, Dmitry Gutov, 2020/05/24
- [elpa] externals/mmm-mode af4c12e 11/12: Don't refontify outside of specified bounds, Dmitry Gutov, 2020/05/24
- [elpa] externals/mmm-mode 8aed53f 12/12: Release 0.5.8, Dmitry Gutov, 2020/05/24