diff options
Diffstat (limited to 'clang/unittests/Format/FormatTestJS.cpp')
-rw-r--r-- | clang/unittests/Format/FormatTestJS.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/unittests/Format/FormatTestJS.cpp b/clang/unittests/Format/FormatTestJS.cpp index 0c8329d..069b7b1 100644 --- a/clang/unittests/Format/FormatTestJS.cpp +++ b/clang/unittests/Format/FormatTestJS.cpp @@ -2692,5 +2692,9 @@ TEST_F(FormatTestJS, NoBreakAfterAsserts) { "}\n"); } +TEST_F(FormatTestJS, NumericSeparators) { + verifyFormat("x = 1_000_000 + 12;", "x = 1_000_000 + 12;"); +} + } // namespace format } // end namespace clang |