diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/indent/js.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/indent/js.js b/test/indent/js.js index 9a1e0dc7ad5..d843f615fd8 100644 --- a/test/indent/js.js +++ b/test/indent/js.js | |||
| @@ -72,7 +72,12 @@ baz(`http://foo.bar/${tee}`) | |||
| 72 | class A { | 72 | class A { |
| 73 | * x() { | 73 | * x() { |
| 74 | return 1 | 74 | return 1 |
| 75 | * 2; | 75 | * a(2); |
| 76 | } | ||
| 77 | |||
| 78 | *[Symbol.iterator]() { | ||
| 79 | yield "Foo"; | ||
| 80 | yield "Bar"; | ||
| 76 | } | 81 | } |
| 77 | } | 82 | } |
| 78 | 83 | ||