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

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

[elpa] master 4f57f0c 163/271: Improve global test.


From: Jackson Ray Hamilton
Subject: [elpa] master 4f57f0c 163/271: Improve global test.
Date: Thu, 05 Feb 2015 18:30:49 +0000

branch: master
commit 4f57f0c53c8b3982676161fdc731247327092e14
Author: Jackson Ray Hamilton <address@hidden>
Commit: Jackson Ray Hamilton <address@hidden>

    Improve global test.
---
 test/context-coloring-test.el |    5 +++--
 test/fixtures/global.js       |    4 +++-
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/test/context-coloring-test.el b/test/context-coloring-test.el
index 1a4e24b..0609f37 100644
--- a/test/context-coloring-test.el
+++ b/test/context-coloring-test.el
@@ -87,8 +87,9 @@ FIXTURE."
    "./fixtures/global.js"
    (js2-mode)
    (context-coloring-mode)
-   ;; Don't error.
-   ))
+   (context-coloring-test-region-level-p 20 28 1)
+   (context-coloring-test-region-level-p 28 35 0)
+   (context-coloring-test-region-level-p 35 41 1)))
 
 (ert-deftest context-coloring-test-js2-mode-block-scopes ()
   (context-coloring-test-js2-with-fixture
diff --git a/test/fixtures/global.js b/test/fixtures/global.js
index 119773e..a35619d 100644
--- a/test/fixtures/global.js
+++ b/test/fixtures/global.js
@@ -1 +1,3 @@
-var a = require('a');
+(function () {
+    var a = require('a');
+}());



reply via email to

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