From: Dmitry Gutov Date: Sun, 13 Oct 2013 02:53:34 +0000 (+0300) Subject: Add small clarification X-Git-Url: https://code.delx.au/gnu-emacs-elpa/commitdiff_plain/01ef1981cbc7b95c5180c00bbbfa4d7ced213248 Add small clarification --- 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))