From 01ef1981cbc7b95c5180c00bbbfa4d7ced213248 Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Sun, 13 Oct 2013 05:53:34 +0300 Subject: [PATCH] Add small clarification --- tests/parser.el | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/parser.el b/tests/parser.el index 0176f935c..f92563655 100644 --- a/tests/parser.el +++ b/tests/parser.el @@ -214,6 +214,7 @@ the test." (let* ((scope (js2-node-at-point (point-min))) (fn-entry (js2-scope-get-symbol scope 'bar)) (var-entry (js2-scope-get-symbol scope 'x))) + (should (string= (js2-name-node-name (js2-function-node-name scope)) "foo")) (should (= (js2-symbol-decl-type fn-entry) js2-FUNCTION)) (should (js2-function-node-p (js2-symbol-ast-node fn-entry))) (should (= (js2-symbol-decl-type var-entry) js2-VAR)) -- 2.39.2