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

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

[elpa] master 7e0b11f 071/110: Add tests for of parsing


From: Dmitry Gutov
Subject: [elpa] master 7e0b11f 071/110: Add tests for of parsing
Date: Thu, 23 Jun 2016 01:13:00 +0000 (UTC)

branch: master
commit 7e0b11f58f628d55228f521c45e0c1c391970292
Author: Jackson Hamilton <address@hidden>
Commit: Jackson Hamilton <address@hidden>

    Add tests for of parsing
---
 tests/parser.el |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tests/parser.el b/tests/parser.el
index 2111671..d32f042 100644
--- a/tests/parser.el
+++ b/tests/parser.el
@@ -161,6 +161,12 @@ the test."
 (js2-deftest-parse parse-for-of
   "for (var a of []) {\n}")
 
+(js2-deftest-parse of-can-be-name
+  "void of;")
+
+(js2-deftest-parse of-can-be-object-name
+  "of.z;")
+
 (js2-deftest-parse of-can-be-var-name
   "var of = 3;")
 



reply via email to

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