[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-25 1d686c2: (ruby-interpolation-inside-another-inter
From: |
Dmitry Gutov |
Subject: |
[Emacs-diffs] emacs-25 1d686c2: (ruby-interpolation-inside-another-interpolation): New failing test |
Date: |
Tue, 15 Mar 2016 23:48:49 +0000 |
branch: emacs-25
commit 1d686c2afb7c6c869c339f7c70daae969b429429
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>
(ruby-interpolation-inside-another-interpolation): New failing test
* test/automated/ruby-mode-tests.el
(ruby-interpolation-inside-another-interpolation):
New failing test.
---
test/automated/ruby-mode-tests.el | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/test/automated/ruby-mode-tests.el
b/test/automated/ruby-mode-tests.el
index 4fa7470..7e85fb8 100644
--- a/test/automated/ruby-mode-tests.el
+++ b/test/automated/ruby-mode-tests.el
@@ -449,6 +449,14 @@ VALUES-PLIST is a list with alternating index and value
elements."
;; It's confused by the closing paren in the middle.
(ruby-assert-state s 8 nil)))
+(ert-deftest ruby-interpolation-inside-another-interpolation ()
+ :expected-result :failed
+ (let ((s "\"#{[a, b, c].map { |v| \"#{v}\" }.join}\""))
+ (ruby-assert-face s 1 font-lock-string-face)
+ (ruby-assert-face s 2 font-lock-variable-name-face)
+ (ruby-assert-face s 38 font-lock-string-face)
+ (ruby-assert-state s 8 nil)))
+
(ert-deftest ruby-interpolation-inside-double-quoted-percent-literals ()
(ruby-assert-face "%Q{foo address@hidden" 8 font-lock-variable-name-face)
(ruby-assert-face "%W{foo address@hidden" 8 font-lock-variable-name-face)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-25 1d686c2: (ruby-interpolation-inside-another-interpolation): New failing test,
Dmitry Gutov <=