[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 549e523 149/271: Add failing test for block scopes.
From: |
Jackson Ray Hamilton |
Subject: |
[elpa] master 549e523 149/271: Add failing test for block scopes. |
Date: |
Thu, 05 Feb 2015 18:30:40 +0000 |
branch: master
commit 549e5232a6d1ce2a893d0d94692a17c4411412da
Author: Jackson Ray Hamilton <address@hidden>
Commit: Jackson Ray Hamilton <address@hidden>
Add failing test for block scopes.
---
test/context-coloring-test.el | 7 +++++++
test/fixtures/block-scopes.js | 1 +
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/test/context-coloring-test.el b/test/context-coloring-test.el
index 814fd6d..9b17a36 100644
--- a/test/context-coloring-test.el
+++ b/test/context-coloring-test.el
@@ -91,6 +91,13 @@ FIXTURE."
;; Don't error.
))
+(ert-deftest context-coloring-test-js2-mode-block-scopes ()
+ (context-coloring-test-js2-with-fixture
+ "./fixtures/block-scopes.js"
+ (js2-mode)
+ (context-coloring-mode)
+ (context-coloring-test-region-level-p 1 10 0)))
+
(ert-deftest context-coloring-test-js2-mode-complexity ()
(context-coloring-test-js2-with-fixture
"../benchmark/fixtures/mkdirp-0.5.0.js"
diff --git a/test/fixtures/block-scopes.js b/test/fixtures/block-scopes.js
new file mode 100644
index 0000000..cb0c6db
--- /dev/null
+++ b/test/fixtures/block-scopes.js
@@ -0,0 +1 @@
+if (1) {}
- [elpa] master faea355 123/271: Cleanup and improve tests., (continued)
- [elpa] master faea355 123/271: Cleanup and improve tests., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 4b2e1db 140/271: Documentation., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 3f1bae9 142/271: Make js2-mode read-only., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 1ceb460 139/271: Documentation., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 1b7e0a5 122/271: Make context-coloring-face-count customizable. Add some dummy faces., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 459987e 131/271: Generalize for different major modes. Remove dirty benchmarking., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 2341708 132/271: Reorganize JavaScript files., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 4be9ec8 147/271: Documentation., Jackson Ray Hamilton, 2015/02/05
- [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 <=
- [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, 2015/02/05
- [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