[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/csharp-mode 4cd07f9 178/459: Clean up fontification tes
From: |
ELPA Syncer |
Subject: |
[elpa] externals/csharp-mode 4cd07f9 178/459: Clean up fontification test. |
Date: |
Sun, 22 Aug 2021 13:59:22 -0400 (EDT) |
branch: externals/csharp-mode
commit 4cd07f9ad612c464c051248ec0ebf389e5e122ef
Author: Jostein Kjønigsen <jostein@kjonigsen.net>
Commit: Jostein Kjønigsen <jostein@kjonigsen.net>
Clean up fontification test.
---
csharp-mode-tests.el | 14 +++-----------
1 file changed, 3 insertions(+), 11 deletions(-)
diff --git a/csharp-mode-tests.el b/csharp-mode-tests.el
index 7b9fb52..8738962 100644
--- a/csharp-mode-tests.el
+++ b/csharp-mode-tests.el
@@ -78,17 +78,9 @@
;; this replaces the manual test of
;; test-files/fontification-test-compiler-directives-with-comments.cs, but
file
;; has been kept around to assist manual testing/verification.
- (let* ((test-string "#region case 1\n\n//this is a comment\n#region case2"))
- (should (assess-face-at=
- test-string
- 'csharp-mode
- ;; should not be interpreted as string because of trailing \!
- "case1" 'font-lock-comment-face))
- (should (assess-face-at=
- test-string
- 'csharp-mode
- ;; should not be interpreted as string because of trailing \!
- "case2" 'font-lock-comment-face))))
+ (assess-face-in-file=
"./test-files/fontification-test-compiler-directives-with-comments.cs"
+ "case1" 'font-lock-comment-face
+ "case2" 'font-lock-comment-face))
(defun list-repeat-once (mylist)
(append mylist mylist))
- [elpa] externals/csharp-mode ffe87f9 150/459: Tests: refactor imenu-tests, (continued)
- [elpa] externals/csharp-mode ffe87f9 150/459: Tests: refactor imenu-tests, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode b4fb58a 153/459: Update changelog., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode c314c65 157/459: Highlight text after #region or #pragma as comment, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 60e8171 159/459: Start update changelog and prepare for new version., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 8aeb816 164/459: Fix compiler warnings., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 775fafd 166/459: Make assess-package available for testing., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode acaa9bb 169/459: Make another fontification-test assess-based., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode b1e237d 172/459: Add tests, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode c4a2dfd 176/459: Fixup tests., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 4f151a1 177/459: Fix CI by fixing byte-compilation., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 4cd07f9 178/459: Clean up fontification test.,
ELPA Syncer <=
- [elpa] externals/csharp-mode 69d95d2 179/459: Make tests less noisy., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 3c1143d 180/459: Merge branch 'fix-verbatim-string-literals', ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 879beb4 184/459: imenu: Fix sorting of fields., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 26e2430 082/459: Updated readme and feature-list. Bump version., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode d4c7a5c 086/459: Support compilation output from msbuild /maxcpucount (/m)., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode e277562 084/459: Set all as the default Makefile target., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 165d1f2 206/459: Fix indexing of generic methods., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 26737de 211/459: Fix build by cheating., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 7ced65e 225/459: Require cc-fonts, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 571c4c7 240/459: Stop misleading our poor users., ELPA Syncer, 2021/08/22