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

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

[nongnu] elpa/typescript-mode a5f342e539 160/222: Add snake_cased functi


From: ELPA Syncer
Subject: [nongnu] elpa/typescript-mode a5f342e539 160/222: Add snake_cased function call to regression test suite
Date: Sun, 6 Feb 2022 16:59:29 -0500 (EST)

branch: elpa/typescript-mode
commit a5f342e53916d4a41b24e7e166386d66eaa32551
Author: Sebastian Sturm <mail@sebastian-sturm.de>
Commit: Jostein Kjønigsen <jostein@kjonigsen.net>

    Add snake_cased function call to regression test suite
---
 typescript-mode-general-tests.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/typescript-mode-general-tests.el b/typescript-mode-general-tests.el
index 2c022cc1e3..368a7d5719 100644
--- a/typescript-mode-general-tests.el
+++ b/typescript-mode-general-tests.el
@@ -326,7 +326,8 @@ declare function declareFunctionDefn(x3: xty3, y3: yty3): 
ret3;"
 class Foo<T> extends Bar {\n
 private async innerExecuteAsync<TResponse extends Response, TValue>(endpoint: 
string, data?: any): Promise<TResponse> {\n
 innerExecuteAsync(x: string, y: boolean, z: number, j?: any): 
Promise<FResponse> {\n
-console.log(this.methodCall())"
+console.log(this.methodCall());\n
+snake_cased_function(1, 2, 3)"
     '(("@decorator" . font-lock-function-name-face)
       ("Foo" . font-lock-type-face)
       ("private" . typescript-access-modifier-face)
@@ -335,6 +336,7 @@ console.log(this.methodCall())"
       ("console" . font-lock-type-face)
       ("this" . typescript-this-face)
       ("methodCall" . font-lock-function-name-face)
+      ("snake_cased_function" . font-lock-function-name-face)
       (("string" "boolean" "number" "any") . typescript-primitive-face)
       (("endpoint" "data") . nil)
       (("<" ">" ",") . nil))))



reply via email to

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