branch: master
commit a2be944bd80a675010e87cb2417165ad2abfad3b
Author: Dmitry Gutov <[email protected]>
Commit: Dmitry Gutov <[email protected]>
Add a test for the latest change
---
tests/indent.el | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/tests/indent.el b/tests/indent.el
index 27b6c5a..d0f149d 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;
+ | }
+ |}")