emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 85397da 02/16: Add more sophisticated block scope test.


From: Jackson Ray Hamilton
Subject: [elpa] master 85397da 02/16: Add more sophisticated block scope test.
Date: Sun, 18 Oct 2015 11:21:36 +0000

branch: master
commit 85397da6e06fe11c40bf5cadddba302f6e57a3dc
Author: Jackson Ray Hamilton <address@hidden>
Commit: Jackson Ray Hamilton <address@hidden>

    Add more sophisticated block scope test.
---
 test/context-coloring-test.el |   10 ++++++++++
 test/fixtures/block-scopes.js |   10 ++++++++++
 2 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/test/context-coloring-test.el b/test/context-coloring-test.el
index ddf0680..32e4d80 100644
--- a/test/context-coloring-test.el
+++ b/test/context-coloring-test.el
@@ -503,6 +503,16 @@ other non-letters are guaranteed to always be discarded."
     11 111 2
         222 12
         222 22
+        22222 12
+    2
+}());
+
+(xxxxxxxx () {
+    'xxx xxxxxx';
+    11 111 2
+        222 12
+        222 22
+        22222 22
     2
 }());"))
   :before (lambda ()
diff --git a/test/fixtures/block-scopes.js b/test/fixtures/block-scopes.js
index 735ca6f..86e4a13 100644
--- a/test/fixtures/block-scopes.js
+++ b/test/fixtures/block-scopes.js
@@ -2,5 +2,15 @@
     if (1) {
         var a;
         let b;
+        const c;
+    }
+}());
+
+(function () {
+    'use strict';
+    if (1) {
+        var a;
+        let b;
+        const c;
     }
 }());



reply via email to

[Prev in Thread] Current Thread [Next in Thread]