]> code.delx.au - gnu-emacs-elpa/commitdiff
Add a test for the latest change
authorDmitry Gutov <dgutov@yandex.ru>
Thu, 15 Oct 2015 19:52:57 +0000 (22:52 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Thu, 15 Oct 2015 19:52:57 +0000 (22:52 +0300)
tests/indent.el

index 27b6c5a0c584483a2efe63f4cf2a55a6826005e0..d0f149d9720135deacbceaf0de62da66d3055b48 100644 (file)
   |  ,
   |  bar = 8;"
   :bind ((js2-pretty-multiline-declarations 'dynamic)))
+
+(js2-deftest-indent indent-generator-method
+  "class A {
+  |  * x() {
+  |    return 1
+  |      * 2;
+  |  }
+  |}")