From: Dmitry Gutov Date: Thu, 15 Oct 2015 19:52:57 +0000 (+0300) Subject: Add a test for the latest change X-Git-Url: https://code.delx.au/gnu-emacs-elpa/commitdiff_plain/a2be944bd80a675010e87cb2417165ad2abfad3b Add a test for the latest change --- diff --git a/tests/indent.el b/tests/indent.el index 27b6c5a0c..d0f149d97 100644 --- a/tests/indent.el +++ b/tests/indent.el @@ -140,3 +140,11 @@ | , | bar = 8;" :bind ((js2-pretty-multiline-declarations 'dynamic))) + +(js2-deftest-indent indent-generator-method + "class A { + | * x() { + | return 1 + | * 2; + | } + |}")