[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');
+}());
- [elpa] master 16cee40 150/271: Pass test for block scopes., (continued)
- [elpa] master 16cee40 150/271: Pass test for block scopes., Jackson Ray Hamilton, 2015/02/05
- [elpa] master f7b5d33 143/271: Add skeletal support for js2-mode scopification., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 549e523 149/271: Add failing test for block scopes., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 9f87a03 148/271: Actually colorize complex files., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 76122df 144/271: Write js2 scopifier., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 5fcd757 146/271: Refactor to use more resilient dispatch strategy., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 8982c75 127/271: Merge branch 'feature/tests' into develop, Jackson Ray Hamilton, 2015/02/05
- [elpa] master e06fbe9 158/271: Add comment support for js2-mode., Jackson Ray Hamilton, 2015/02/05
- [elpa] master a2b6a5a 112/271: Use defvar-local., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 6c8175e 153/271: Update compilation., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 4f57f0c 163/271: Improve global test.,
Jackson Ray Hamilton <=
- [elpa] master dc8e99c 130/271: Function name., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 2bb4d12 124/271: More cleanup., Jackson Ray Hamilton, 2015/02/05
- [elpa] master d301048 154/271: Update compilation again., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 1d9cf42 164/271: Refactor tests., Jackson Ray Hamilton, 2015/02/05
- [elpa] master a0ccc5c 162/271: Improve and pass catch test., Jackson Ray Hamilton, 2015/02/05
- [elpa] master c8fa33f 170/271: Improve async benchmarking., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 7954efc 110/271: Rename instances of depth to level., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 338716d 161/271: Refactor., Jackson Ray Hamilton, 2015/02/05
- [elpa] master fc81cf9 157/271: Don't use timers for js2-mode., Jackson Ray Hamilton, 2015/02/05
- [elpa] master b4c220a 159/271: Always remove hooks., Jackson Ray Hamilton, 2015/02/05