[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/julia-mode 505d71b 339/352: Add all problemmatic strings f
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/julia-mode 505d71b 339/352: Add all problemmatic strings from issue #15 to tests |
Date: |
Sun, 29 Aug 2021 11:23:14 -0400 (EDT) |
branch: elpa/julia-mode
commit 505d71b0fd311ef2ad86a708af33dae3ed7c20e9
Author: Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>
Commit: Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>
Add all problemmatic strings from issue #15 to tests
Closes #15
---
julia-mode-tests.el | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/julia-mode-tests.el b/julia-mode-tests.el
index 89d1b26..7ef8292 100644
--- a/julia-mode-tests.el
+++ b/julia-mode-tests.el
@@ -532,8 +532,17 @@ end")
(julia--should-font-lock string 74 font-lock-type-face) ; B
))
+(ert-deftest julia--test-single-quote-string-font-lock ()
+ "Test that single quoted strings are font-locked correctly even with
escapes."
+ ;; Issue #15
+ (let ((s1 "\"a\\\"b\"c"))
+ (julia--should-font-lock s1 2 font-lock-string-face)
+ (julia--should-font-lock s1 5 font-lock-string-face)
+ (julia--should-font-lock s1 7 nil)))
+
(ert-deftest julia--test-triple-quote-string-font-lock ()
"Test that triple quoted strings are font-locked correctly even with
escapes."
+ ;; Issue #15
(let ((s1 "\"\"\"a\\\"\\\"\"b\"\"\"d")
(s2 "\"\"\"a\\\"\"\"b\"\"\"d")
(s3 "\"\"\"a```b\"\"\"d")
- [nongnu] elpa/julia-mode 117b791 294/352: Replace `Associative` by `AbstractDict` (thanks to @tpapp), (continued)
- [nongnu] elpa/julia-mode 117b791 294/352: Replace `Associative` by `AbstractDict` (thanks to @tpapp), ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode dc21978 289/352: Merge pull request #63 from nverno/movement-functions, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 61e22f6 312/352: Merge pull request #90 from tpapp/tp/add-melpa-badge, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode a174d0e 315/352: Fix indentation of generated elisp, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 97325c4 318/352: Merge pull request #87 from tpapp/tp/drop-emacs-23, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 0eec10a 333/352: Do not consider `:end` as block ending, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode c9d8230 329/352: Give \ punctuation syntax outside of strings (#113), ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 6b7e956 321/352: Fix for derived parent mode (#66), ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 9dcabbc 334/352: Simplify the logic to find the end of last block, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 796ddfd 338/352: Apply proper syntax to triple-quoted cmds, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 505d71b 339/352: Add all problemmatic strings from issue #15 to tests,
ELPA Syncer <=
- [nongnu] elpa/julia-mode b800403 326/352: Font lock tweaks (#102), ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 8bfc709 325/352: bump version for release, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode a31868d 340/352: font-lock ccall as a builtin, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode a4eeb6c 343/352: Merge pull request #134 from non-Jedi/font-lock-builtin-face, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode a1ba9a0 352/352: add logo, README tweaks, add section on testing (#163), ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode dc17943 351/352: Indent imports from submodule correctly (#154), ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode af5eb63 273/352: short function syntax: support return type declaration, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 1eacdc6 298/352: Create FUNDING.yml, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 023df24 322/352: add latest PR to changelog, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 140369e 337/352: Simplify char-regex, ELPA Syncer, 2021/08/29