clang-format: [JS] tests for async wrapping.
authorMartin Probst <martin@probst.io>
Mon, 18 Nov 2019 09:07:32 +0000 (10:07 +0100)
committerMartin Probst <martin@probst.io>
Thu, 16 Jan 2020 10:23:11 +0000 (11:23 +0100)
commit736a3802124b57490fa1e67538415a2a77fa731c
treefee4e9e3c4dcd1e8a5a18786c3dae2c4a561076c
parent23c113802e21253332dc41fba6639106b7b1e461
clang-format: [JS] tests for async wrapping.

Summary:
Adds tests to ensure that `async method() ...` does not wrap between async and
the method name, which would cause automatic semicolon insertion.

Reviewers: krasimir

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D70377
clang/unittests/Format/FormatTestJS.cpp