clang-format: [JS] test case for numeric separators.
authorMartin Probst <martin@probst.io>
Fri, 3 Dec 2021 10:20:56 +0000 (11:20 +0100)
committerMartin Probst <martin@probst.io>
Mon, 6 Dec 2021 18:01:24 +0000 (19:01 +0100)
commit327d966365d7b34abd25a920e1f7b5aecfa5c70f
tree5babb219fc7ee8a6e94c5d8c9d7ccd161f78d1eb
parent4a16fe1369f3ab0e98261d4bd133034425d0523c
clang-format: [JS] test case for numeric separators.

ES2021 allows numeric literals using `_` as a separator. This already
works, but had no test.

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